UNPKG

@mui/base

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

18 lines (17 loc) 782 B
export interface FormControlClasses { /** Class applied to the root element. */ root: 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 the inner input has value. */ filled: string; /** State class applied to the root element if the inner input is focused. */ focused: string; /** State class applied to the root element if `required={true}`. */ required: string; } export type FormControlClassKey = keyof FormControlClasses; export declare function getFormControlUtilityClass(slot: string): string; export declare const formControlClasses: FormControlClasses;