import { Theme } from '@mui/material/styles';
import SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';
// components
import Iconify from 'src/components/iconify';
// ----------------------------------------------------------------------
const ArrowDownIcon = (props: SvgIconProps) => (
);
const CheckboxIcon = (props: SvgIconProps) => (
);
const CheckboxCheckedIcon = (props: SvgIconProps) => (
);
const CheckboxIndeterminateIcon = (props: SvgIconProps) => (
);
const RadioIcon = (props: SvgIconProps) => (
);
const RadioCheckedIcon = (props: SvgIconProps) => (
);
const RatingIcon = (props: SvgIconProps) => (
);
const TreeViewCollapseIcon = (props: SvgIconProps) => (
);
const TreeViewExpandIcon = (props: SvgIconProps) => (
);
const TreeViewEndIcon = (props: SvgIconProps) => (
);
// ----------------------------------------------------------------------
export function defaultProps(theme: Theme) {
return {
MuiAlert: {
defaultProps: {
iconMapping: {
error: ,
info: ,
success: ,
warning: ,
},
},
},
MuiStack: {
defaultProps: {
useFlexGap: true,
},
},
MuiAppBar: {
defaultProps: {
color: 'transparent',
},
},
MuiAvatarGroup: {
defaultProps: {
max: 4,
},
},
MuiButtonGroup: {
defaultProps: {
disableElevation: true,
},
},
MuiButton: {
defaultProps: {
color: 'inherit',
disableElevation: true,
},
},
MuiCardHeader: {
defaultProps: {
titleTypographyProps: { variant: 'h6' },
subheaderTypographyProps: {
variant: 'body2',
marginTop: theme.spacing(0.5),
},
},
},
MuiChip: {
defaultProps: {
deleteIcon: ,
},
},
MuiDialogActions: {
defaultProps: {
disableSpacing: true,
},
},
MuiFab: {
defaultProps: {
color: 'primary',
},
},
MuiLink: {
defaultProps: {
underline: 'hover',
},
},
MuiListItemText: {
defaultProps: {
primaryTypographyProps: {
typography: 'subtitle2',
},
secondaryTypographyProps: {
component: 'span',
},
},
},
MuiPaper: {
defaultProps: {
elevation: 0,
},
},
MuiSkeleton: {
defaultProps: {
animation: 'wave',
variant: 'rounded',
},
},
MuiFilledInput: {
defaultProps: {
disableUnderline: true,
},
},
MuiFormHelperText: {
defaultProps: {
component: 'div',
},
},
MuiTab: {
defaultProps: {
disableRipple: true,
iconPosition: 'start',
},
},
MuiTabs: {
defaultProps: {
textColor: 'inherit',
variant: 'scrollable',
allowScrollButtonsMobile: true,
},
},
MuiTablePagination: {
defaultProps: {
backIconButtonProps: {
size: 'small',
},
nextIconButtonProps: {
size: 'small',
},
},
},
MuiSlider: {
defaultProps: {
size: 'small',
},
},
MuiAutocomplete: {
defaultProps: {
popupIcon: ,
},
},
MuiSelect: {
defaultProps: {
IconComponent: ArrowDownIcon,
},
},
MuiNativeSelect: {
defaultProps: {
IconComponent: ArrowDownIcon,
},
},
MuiCheckbox: {
defaultProps: {
size: 'small',
icon: ,
checkedIcon: ,
indeterminateIcon: ,
},
},
MuiRadio: {
defaultProps: {
size: 'small',
icon: ,
checkedIcon: ,
},
},
MuiRating: {
defaultProps: {
emptyIcon: ,
icon: ,
},
},
MuiTreeView: {
defaultProps: {
defaultCollapseIcon: ,
defaultExpandIcon: ,
defaultEndIcon: ,
},
},
};
}