import { cn } from '../../tools/cn'; import { FlexBox } from '../flex-box'; import { Icon } from '../icon'; import { Typography } from '../typography'; import type { FieldErrorProps } from './types'; /** * The error line under a group that has no field of its own, such as a set of chips, a consent * box or a photo: an alert icon and the message, announced when it appears. */ export function FieldError({ id, className, children }: FieldErrorProps) { return ( {children} ); }