UNPKG

1.02 kBTypeScriptView Raw
1export interface FormHelperTextClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** State class applied to the root element if `error={true}`. */
5 error: string;
6 /** State class applied to the root element if `disabled={true}`. */
7 disabled: string;
8 /** Styles applied to the root element if `size="small"`. */
9 sizeSmall: string;
10 /** Styles applied to the root element if `variant="filled"` or `variant="outlined"`. */
11 contained: string;
12 /** State class applied to the root element if `focused={true}`. */
13 focused: string;
14 /** State class applied to the root element if `filled={true}`. */
15 filled: string;
16 /** State class applied to the root element if `required={true}`. */
17 required: string;
18}
19export type FormHelperTextClassKey = keyof FormHelperTextClasses;
20export declare function getFormHelperTextUtilityClasses(slot: string): string;
21declare const formHelperTextClasses: FormHelperTextClasses;
22export default formHelperTextClasses;