diff --git a/webnext/src/shared/defguard-ui/components/Icon/Icon.tsx b/webnext/src/shared/defguard-ui/components/Icon/Icon.tsx index ddfff55f..f658b92e 100644 --- a/webnext/src/shared/defguard-ui/components/Icon/Icon.tsx +++ b/webnext/src/shared/defguard-ui/components/Icon/Icon.tsx @@ -30,6 +30,7 @@ import { IconPlus } from './icons/IconPlus'; import { IconShow } from './icons/IconShow'; import { IconStatusSimple } from './icons/IconStatusSimple'; import { IconUbuntu } from './icons/IconUbuntu'; +import { IconWarning } from './icons/IconWarning'; import { IconWindows } from './icons/IconWindows'; type Props = { @@ -70,6 +71,8 @@ export const Icon = ({ }: Props) => { const IconToRender = useMemo(() => { switch (iconKind) { + case 'warning': + return IconWarning; case 'ubuntu': return IconUbuntu; case 'debian': diff --git a/webnext/src/shared/defguard-ui/components/Icon/icons/IconWarning.tsx b/webnext/src/shared/defguard-ui/components/Icon/icons/IconWarning.tsx new file mode 100644 index 00000000..b6a060ee --- /dev/null +++ b/webnext/src/shared/defguard-ui/components/Icon/icons/IconWarning.tsx @@ -0,0 +1,19 @@ +import type { SVGProps } from 'react'; + +export const IconWarning = (props: SVGProps) => { + return ( + + + + ); +};