material-ui
material-ui copied to clipboard
[TypeScript]Type Error
https://github.com/callemall/material-ui/blob/4da17a67182a212be91a36cec9c976ccb6293380/src/BottomNavigation/BottomNavigation.d.ts#L9
export type BottomNavigationProps = {
} & Partial<Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
export type TextFieldProps = {
} & Partial<Omit<FormControlProps, 'onChange'>>;
export interface ChipProps {
deleteIcon?: React.ReactElement<any>;
}
export interface SwitchBaseProps extends Partial<Omit<IconButtonProps, 'onChange'>> {
}
export interface ListProps extends React.HTMLAttributes<HTMLUListElement> {
subheader?: React.ReactElement<any> | boolean;
}