@mui/material
Version:
Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.
23 lines (22 loc) • 961 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 declare type FormLabelClassKey = keyof FormLabelClasses;
export declare function getFormLabelUtilityClasses(slot: string): string;
declare const formLabelClasses: FormLabelClasses;
export default formLabelClasses;