mirror of https://github.com/portainer/portainer
17 lines
363 B
TypeScript
17 lines
363 B
TypeScript
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>
|
|
);
|
|
}
|