UNPKG

712 BTypeScriptView Raw
1import * as React from 'react';
2export interface FormHelperTextProps extends React.HTMLProps<HTMLDivElement> {
3 /** Content rendered inside the Helper Text Item */
4 children?: React.ReactNode;
5 /** Adds error styling to the Helper Text * */
6 isError?: boolean;
7 /** Hides the helper text * */
8 isHidden?: boolean;
9 /** Additional classes added to the Helper Text Item */
10 className?: string;
11 /** Icon displayed to the left of the helper text. */
12 icon?: React.ReactNode;
13 /** Component type of the form helper text */
14 component?: 'p' | 'div';
15}
16export declare const FormHelperText: React.FunctionComponent<FormHelperTextProps>;
17//# sourceMappingURL=FormHelperText.d.ts.map
\No newline at end of file