@mui/material
Version:
React components that implement Google's Material Design.
23 lines (22 loc) • 953 B
TypeScript
export interface FormLabelClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if the color is secondary. */
colorSecondary: string;
/** State class applied to the root element if `focused={true}`. */
focused: string;
/** State class applied to the root element if `disabled={true}`. */
disabled: string;
/** State class applied to the root element if `error={true}`. */
error: string;
/** State class applied to the root element if `filled={true}`. */
filled: string;
/** State class applied to the root element if `required={true}`. */
required: string;
/** Styles applied to the asterisk element. */
asterisk: string;
}
export type FormLabelClassKey = keyof FormLabelClasses;
export declare function getFormLabelUtilityClasses(slot: string): string;
declare const formLabelClasses: FormLabelClasses;
export default formLabelClasses;