You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
702 B
25 lines
702 B
type CreatableComponent = Parameters<typeof import('react').createElement>[0]; |
|
|
|
type IconButtonPresetMapToStateIconBundle = |
|
| 'add' |
|
| 'close' |
|
| 'edit' |
|
| 'visibility'; |
|
|
|
type IconButtonStateIconBundle = { |
|
iconType: CreatableComponent; |
|
iconProps?: import('@mui/material').SvgIconProps; |
|
}; |
|
|
|
type IconButtonMapToStateIconBundle = Record<string, IconButtonStateIconBundle>; |
|
|
|
type IconButtonVariant = 'contained' | 'normal'; |
|
|
|
type IconButtonOptionalProps = { |
|
defaultIcon?: CreatableComponent; |
|
iconProps?: import('@mui/material').SvgIconProps; |
|
mapPreset?: IconButtonPresetMapToStateIconBundle; |
|
mapToIcon?: IconButtonMapToStateIconBundle; |
|
state?: string; |
|
variant?: IconButtonVariant; |
|
};
|
|
|