UNPKG

953 BTypeScriptView Raw
1export interface FormLabelClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if the color is secondary. */
5 colorSecondary: string;
6 /** State class applied to the root element if `focused={true}`. */
7 focused: string;
8 /** State class applied to the root element if `disabled={true}`. */
9 disabled: string;
10 /** State class applied to the root element if `error={true}`. */
11 error: string;
12 /** State class applied to the root element if `filled={true}`. */
13 filled: string;
14 /** State class applied to the root element if `required={true}`. */
15 required: string;
16 /** Styles applied to the asterisk element. */
17 asterisk: string;
18}
19export type FormLabelClassKey = keyof FormLabelClasses;
20export declare function getFormLabelUtilityClasses(slot: string): string;
21declare const formLabelClasses: FormLabelClasses;
22export default formLabelClasses;