1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(ui): ui change for edge compute settings EE-3800 (#7365)

* added style to edge compute under settings
This commit is contained in:
Richard Wei 2022-08-03 11:15:00 +12:00 committed by GitHub
parent 21fbd37bfb
commit 65c050dc87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 11 deletions

View file

@ -1,11 +1,14 @@
import { PropsWithChildren } from 'react';
import { Icon } from '@@/Icon';
export function FormError({ children }: PropsWithChildren<unknown>) {
return (
<div className="small text-warning">
<i
className="fa fa-exclamation-triangle space-right"
aria-hidden="true"
<div className="small text-warning vertical-center">
<Icon
icon="alert-triangle"
feather
className="icon icon-sm icon-warning"
/>
{children}
</div>