@cerberus-design/react
Version:
The Cerberus Design React component library.
15 lines (14 loc) • 474 B
TypeScript
import { FieldErrorTextProps } from './primitives';
/**
* The error text for the Field component that is shown when the field is
* invalid.
* @description [Field Docs](https://cerberus.digitalu.design/react/field)
* @example
* ```tsx
* <FieldRoot>
* <FieldInput />
* <FieldErrorText>Error text</FieldErrorText>
* </FieldRoot>
* ```
*/
export declare function CerberusFieldErrorText(props: FieldErrorTextProps): import("react/jsx-runtime").JSX.Element | null;