mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
16 lines
363 B
TypeScript
16 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>
|
|
);
|
|
}
|