@mui/core
Version:
Unstyled React components with which to implement custom design systems.
29 lines (28 loc) • 1.33 kB
TypeScript
export interface InputUnstyledClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if the component is a descendant of `FormControl`. */
formControl: string;
/** Styles applied to the root element if `startAdornment` is provided. */
adornedStart: string;
/** Styles applied to the root element if `endAdornment` is provided. */
adornedEnd: string;
/** Styles applied to the root element if the component is focused. */
focused: string;
/** Styles applied to the root element if `disabled={true}`. */
disabled: string;
/** State class applied to the root element if `error={true}`. */
error: string;
/** Styles applied to the root element if `multiline={true}`. */
multiline: string;
/** Styles applied to the input element. */
input: string;
/** Styles applied to the input element if `multiline={true}`. */
inputMultiline: string;
/** Styles applied to the input element if `type="search"`. */
inputTypeSearch: string;
}
export declare type InputUnstyledClassKey = keyof InputUnstyledClasses;
export declare function getInputUnstyledUtilityClass(slot: string): string;
declare const inputBaseClasses: InputUnstyledClasses;
export default inputBaseClasses;