UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

19 lines (18 loc) 602 B
import { HTMLAttributes, ReactNode } from 'react'; export interface FieldStatusIndicatorProps extends HTMLAttributes<HTMLSpanElement> { /** * The fallback content to display when the field is valid. */ fallback?: ReactNode; } /** * The invalid status indicator for the Field component. * @description [Field Docs](https://cerberus.digitalu.design/react/field) * @example * ```tsx * <FieldRoot> * <FieldStatusIndicator /> * </FieldRoot> * ``` */ export declare function FieldStatusIndicator(props: FieldStatusIndicatorProps): import("react/jsx-runtime").JSX.Element | null;