UNPKG

1.15 kBTypeScriptView Raw
1export interface InputAdornmentClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `variant="filled"`. */
5 filled: string;
6 /** Styles applied to the root element if `variant="outlined"`. */
7 outlined: string;
8 /** Styles applied to the root element if `variant="standard"`. */
9 standard: string;
10 /** Styles applied to the root element if `position="start"`. */
11 positionStart: string;
12 /** Styles applied to the root element if `position="end"`. */
13 positionEnd: string;
14 /** Styles applied to the root element if `disablePointerEvents={true}`. */
15 disablePointerEvents: string;
16 /** Styles applied if the adornment is used inside <FormControl hiddenLabel />. */
17 hiddenLabel: string;
18 /** Styles applied if the adornment is used inside <FormControl size="small" />. */
19 sizeSmall: string;
20}
21export type InputAdornmentClassKey = keyof InputAdornmentClasses;
22export declare function getInputAdornmentUtilityClass(slot: string): string;
23declare const inputAdornmentClasses: InputAdornmentClasses;
24export default inputAdornmentClasses;