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.
17 lines
520 B
17 lines
520 B
2 years ago
|
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;
|
||
|
};
|