UNPKG

1.12 kBTypeScriptView Raw
1export interface FormControlLabelClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `labelPlacement="start"`. */
5 labelPlacementStart: string;
6 /** Styles applied to the root element if `labelPlacement="top"`. */
7 labelPlacementTop: string;
8 /** Styles applied to the root element if `labelPlacement="bottom"`. */
9 labelPlacementBottom: string;
10 /** State class applied to the root element if `disabled={true}`. */
11 disabled: string;
12 /** Styles applied to the label's Typography component. */
13 label: string;
14 /** State class applied to the root element if `error={true}`. */
15 error: string;
16 /** State class applied to the root element if `required={true}`. */
17 required: string;
18 /** Styles applied to the asterisk element. */
19 asterisk: string;
20}
21export type FormControlLabelClassKey = keyof FormControlLabelClasses;
22export declare function getFormControlLabelUtilityClasses(slot: string): string;
23declare const formControlLabelClasses: FormControlLabelClasses;
24export default formControlLabelClasses;