UNPKG

@payfit/unity-components

Version:

13 lines (12 loc) • 558 B
import { AIComposerAlertProps as BaseAIComposerAlertProps } from '../parts/AIComposerAlert.js'; export interface AIComposerAlertProps extends Omit<BaseAIComposerAlertProps, 'children' | 'id' | 'variant'> { /** Names the one field whose validation message occupies the Composer slot. */ field: string; } /** * Renders the first relevant validation error for one nominated Composer field. */ export declare const AIComposerAlert: { ({ field, ...props }: AIComposerAlertProps): import('react/jsx-runtime').JSX.Element; displayName: string; };