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.
16 lines
520 B
16 lines
520 B
type CreatableComponent = Parameters<typeof import('react').createElement>[0]; |
|
|
|
type IconButtonPresetMapToStateIcon = 'edit' | 'visibility'; |
|
|
|
type IconButtonMapToStateIcon = Record<string, CreatableComponent>; |
|
|
|
type IconButtonVariant = 'contained' | 'normal'; |
|
|
|
type IconButtonOptionalProps = { |
|
defaultIcon?: CreatableComponent; |
|
iconProps?: import('@mui/material').SvgIconProps; |
|
mapPreset?: IconButtonPresetMapToStateIcon; |
|
mapToIcon?: IconButtonMapToStateIcon; |
|
state?: string; |
|
variant?: IconButtonVariant; |
|
};
|
|
|