type CreatableComponent = Parameters[0]; type IconButtonPresetMapToStateIcon = 'edit' | 'visibility'; type IconButtonMapToStateIcon = Record; type IconButtonVariant = 'contained' | 'normal'; type IconButtonOptionalProps = { defaultIcon?: CreatableComponent; iconProps?: import('@mui/material').SvgIconProps; mapPreset?: IconButtonPresetMapToStateIcon; mapToIcon?: IconButtonMapToStateIcon; state?: string; variant?: IconButtonVariant; };