@rws-aoa/react-library
Version:
RWS AOA Design System
20 lines • 643 B
TypeScript
export interface AoaFormErrorProps {
readonly 'data-qa'?: string;
}
/**
* Constructs a custom error message for a form **using pre-defined Rijks styling**
*
* This component is intended for internal use only and should always be used through `<form.AoaFormError />`
*
* @internal
* @param param0 - Props to pass to the form error
* @returns A custom error message for a form
* @example
* ```jsx
* <form.AppForm>
* <form.AoaFormError />
* </form.AppForm>
* ```
*/
export declare function AoaFormError({ 'data-qa': dataQa }: AoaFormErrorProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=FormError.d.ts.map