UNPKG

782 BTypeScriptView Raw
1export interface FormControlClasses {
2 /** Class applied to the root element. */
3 root: string;
4 /** State class applied to the root element if `disabled={true}`. */
5 disabled: string;
6 /** State class applied to the root element if `error={true}`. */
7 error: string;
8 /** State class applied to the root element if the inner input has value. */
9 filled: string;
10 /** State class applied to the root element if the inner input is focused. */
11 focused: string;
12 /** State class applied to the root element if `required={true}`. */
13 required: string;
14}
15export type FormControlClassKey = keyof FormControlClasses;
16export declare function getFormControlUtilityClass(slot: string): string;
17export declare const formControlClasses: FormControlClasses;