1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 13:59:40 +02:00
portainer/app/react/components/form-components/FormError.tsx
Richard Wei 65c050dc87
feat(ui): ui change for edge compute settings EE-3800 (#7365)
* added style to edge compute under settings
2022-08-03 11:15:00 +12:00

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>
);
}