16 lines
412 B
TypeScript
16 lines
412 B
TypeScript
import React from 'react';
|
|
import { Box, color, Text } from 'folds';
|
|
|
|
import { Icon, Icons } from '../../components/icons';
|
|
|
|
export function FieldError({ message }: { message: string }) {
|
|
return (
|
|
<Box style={{ color: color.Critical.Main }} alignItems="Center" gap="100">
|
|
<Icon size="50" filled src={Icons.Warning} />
|
|
<Text size="T200">
|
|
<b>{message}</b>
|
|
</Text>
|
|
</Box>
|
|
);
|
|
}
|