You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/components/form-components/FormError.tsx

17 lines
363 B

import { PropsWithChildren } from 'react';
import { Icon } from '@@/Icon';
export function FormError({ children }: PropsWithChildren<unknown>) {
return (
<div className="small text-warning vertical-center">
<Icon
icon="alert-triangle"
feather
className="icon icon-sm icon-warning"
/>
{children}
</div>
);
}