UNPKG

1.53 kBTypeScriptView Raw
1export interface NativeSelectClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the select component `select` class. */
5 select: string;
6 /** Styles applied to the select component if `multiple={true}`. */
7 multiple: string;
8 /** Styles applied to the select component if `variant="filled"`. */
9 filled: string;
10 /** Styles applied to the select component if `variant="outlined"`. */
11 outlined: string;
12 /** Styles applied to the select component if `variant="standard"`. */
13 standard: string;
14 /** State class applied to the select component `disabled` class. */
15 disabled: string;
16 /** Styles applied to the icon component. */
17 icon: string;
18 /** Styles applied to the icon component if the popup is open. */
19 iconOpen: string;
20 /** Styles applied to the icon component if `variant="filled"`. */
21 iconFilled: string;
22 /** Styles applied to the icon component if `variant="outlined"`. */
23 iconOutlined: string;
24 /** Styles applied to the icon component if `variant="standard"`. */
25 iconStandard: string;
26 /** Styles applied to the underlying native input component. */
27 nativeInput: string;
28 /** State class applied to the select component `error` class. */
29 error: string;
30}
31export type NativeSelectClassKey = keyof NativeSelectClasses;
32export declare function getNativeSelectUtilityClasses(slot: string): string;
33declare const nativeSelectClasses: NativeSelectClasses;
34export default nativeSelectClasses;