UNPKG

10 kBTypeScriptView Raw
1import { AlertProps } from '../Alert';
2import { AlertTitleProps } from '../AlertTitle';
3import { AppBarProps } from '../AppBar';
4import { AutocompleteProps } from '../Autocomplete';
5import { AvatarProps } from '../Avatar';
6import { AvatarGroupProps } from '../AvatarGroup';
7import { BackdropProps } from '../Backdrop';
8import { BadgeProps } from '../Badge';
9import { BottomNavigationActionProps } from '../BottomNavigationAction';
10import { BottomNavigationProps } from '../BottomNavigation';
11import { BreadcrumbsProps } from '../Breadcrumbs';
12import { ButtonBaseProps } from '../ButtonBase';
13import { ButtonGroupProps } from '../ButtonGroup';
14import { ButtonProps } from '../Button';
15import { CardActionAreaProps } from '../CardActionArea';
16import { CardActionsProps } from '../CardActions';
17import { CardContentProps } from '../CardContent';
18import { CardHeaderProps } from '../CardHeader';
19import { CardMediaProps } from '../CardMedia';
20import { CardProps } from '../Card';
21import { CheckboxProps } from '../Checkbox';
22import { ChipProps } from '../Chip';
23import { CircularProgressProps } from '../CircularProgress';
24import { CollapseProps } from '../Collapse';
25import { ContainerProps } from '../Container';
26import { CssBaselineProps } from '../CssBaseline';
27import { DialogActionsProps } from '../DialogActions';
28import { DialogContentProps } from '../DialogContent';
29import { DialogContentTextProps } from '../DialogContentText';
30import { DialogProps } from '../Dialog';
31import { DialogTitleProps } from '../DialogTitle';
32import { DividerProps } from '../Divider';
33import { DrawerProps } from '../Drawer';
34import { AccordionActionsProps } from '../AccordionActions';
35import { AccordionDetailsProps } from '../AccordionDetails';
36import { AccordionProps } from '../Accordion';
37import { AccordionSummaryProps } from '../AccordionSummary';
38import { FabProps } from '../Fab';
39import { FilledInputProps } from '../FilledInput';
40import { FormControlLabelProps } from '../FormControlLabel';
41import { FormControlProps } from '../FormControl';
42import { FormGroupProps } from '../FormGroup';
43import { FormHelperTextProps } from '../FormHelperText';
44import { FormLabelProps } from '../FormLabel';
45import { GridProps } from '../Grid';
46import { Grid2Props } from '../Grid2';
47import { IconButtonProps } from '../IconButton';
48import { IconProps } from '../Icon';
49import { ImageListProps } from '../ImageList';
50import { ImageListItemBarProps } from '../ImageListItemBar';
51import { ImageListItemProps } from '../ImageListItem';
52import { InputAdornmentProps } from '../InputAdornment';
53import { InputBaseProps } from '../InputBase';
54import { InputLabelProps } from '../InputLabel';
55import { InputProps } from '../Input';
56import { LinearProgressProps } from '../LinearProgress';
57import { LinkProps } from '../Link';
58import { ListItemAvatarProps } from '../ListItemAvatar';
59import { ListItemIconProps } from '../ListItemIcon';
60import { ListItemProps } from '../ListItem';
61import { ListItemButtonProps } from '../ListItemButton';
62import { ListItemSecondaryActionProps } from '../ListItemSecondaryAction';
63import { ListItemTextProps } from '../ListItemText';
64import { ListProps } from '../List';
65import { ListSubheaderProps } from '../ListSubheader';
66import { MenuItemProps } from '../MenuItem';
67import { MenuListProps } from '../MenuList';
68import { MenuProps } from '../Menu';
69import { MobileStepperProps } from '../MobileStepper';
70import { ModalProps } from '../Modal';
71import { NativeSelectProps } from '../NativeSelect';
72import { UseMediaQueryOptions } from '../useMediaQuery';
73import { OutlinedInputProps } from '../OutlinedInput';
74import { PaginationProps } from '../Pagination';
75import { PaginationItemProps } from '../PaginationItem';
76import { PaperProps } from '../Paper';
77import { PopoverProps } from '../Popover';
78import { RadioGroupProps } from '../RadioGroup';
79import { RadioProps } from '../Radio';
80import { RatingProps } from '../Rating';
81import { ScopedCssBaselineProps } from '../ScopedCssBaseline';
82import { SelectProps } from '../Select';
83import { SkeletonProps } from '../Skeleton';
84import { SliderProps } from '../Slider';
85import { SnackbarContentProps } from '../SnackbarContent';
86import { SnackbarProps } from '../Snackbar';
87import { SpeedDialProps } from '../SpeedDial';
88import { SpeedDialActionProps } from '../SpeedDialAction';
89import { SpeedDialIconProps } from '../SpeedDialIcon';
90import { StackProps } from '../Stack';
91import { StepButtonProps } from '../StepButton';
92import { StepConnectorProps } from '../StepConnector';
93import { StepContentProps } from '../StepContent';
94import { StepIconProps } from '../StepIcon';
95import { StepLabelProps } from '../StepLabel';
96import { StepperProps } from '../Stepper';
97import { StepProps } from '../Step';
98import { SvgIconProps } from '../SvgIcon';
99import { SwipeableDrawerProps } from '../SwipeableDrawer';
100import { SwitchProps } from '../Switch';
101import { TableBodyProps } from '../TableBody';
102import { TableCellProps } from '../TableCell';
103import { TableContainerProps } from '../TableContainer';
104import { TableHeadProps } from '../TableHead';
105import { TablePaginationProps } from '../TablePagination';
106import { TableProps } from '../Table';
107import { TableRowProps } from '../TableRow';
108import { TableSortLabelProps } from '../TableSortLabel';
109import { TableFooterProps } from '../TableFooter';
110import { TabProps } from '../Tab';
111import { TabsProps } from '../Tabs';
112import { TextFieldProps } from '../TextField';
113import { ToggleButtonProps } from '../ToggleButton';
114import { ToggleButtonGroupProps } from '../ToggleButtonGroup';
115import { ToolbarProps } from '../Toolbar';
116import { TooltipProps } from '../Tooltip';
117import { TouchRippleProps } from '../ButtonBase/TouchRipple';
118import { TypographyProps } from '../Typography';
119import { PopperProps } from '../Popper';
120
121export type ComponentsProps = {
122 [Name in keyof ComponentsPropsList]?: Partial<ComponentsPropsList[Name]>;
123};
124
125export interface ComponentsPropsList {
126 MuiAlert: AlertProps;
127 MuiAlertTitle: AlertTitleProps;
128 MuiAppBar: AppBarProps;
129 MuiAutocomplete: AutocompleteProps<any, any, any, any>;
130 MuiAvatar: AvatarProps;
131 MuiAvatarGroup: AvatarGroupProps;
132 MuiBackdrop: BackdropProps;
133 MuiBadge: BadgeProps;
134 MuiBottomNavigation: BottomNavigationProps;
135 MuiBottomNavigationAction: BottomNavigationActionProps;
136 MuiBreadcrumbs: BreadcrumbsProps;
137 MuiButton: ButtonProps;
138 MuiButtonBase: ButtonBaseProps;
139 MuiButtonGroup: ButtonGroupProps;
140 MuiCard: CardProps;
141 MuiCardActionArea: CardActionAreaProps;
142 MuiCardActions: CardActionsProps;
143 MuiCardContent: CardContentProps;
144 MuiCardHeader: CardHeaderProps;
145 MuiCardMedia: CardMediaProps;
146 MuiCheckbox: CheckboxProps;
147 MuiChip: ChipProps;
148 MuiCircularProgress: CircularProgressProps;
149 MuiCollapse: CollapseProps;
150 MuiContainer: ContainerProps;
151 MuiCssBaseline: CssBaselineProps;
152 MuiDialog: DialogProps;
153 MuiDialogActions: DialogActionsProps;
154 MuiDialogContent: DialogContentProps;
155 MuiDialogContentText: DialogContentTextProps;
156 MuiDialogTitle: DialogTitleProps;
157 MuiDivider: DividerProps;
158 MuiDrawer: DrawerProps;
159 MuiAccordion: AccordionProps;
160 MuiAccordionActions: AccordionActionsProps;
161 MuiAccordionDetails: AccordionDetailsProps;
162 MuiAccordionSummary: AccordionSummaryProps;
163 MuiFab: FabProps;
164 MuiFilledInput: FilledInputProps;
165 MuiFormControl: FormControlProps;
166 MuiFormControlLabel: FormControlLabelProps;
167 MuiFormGroup: FormGroupProps;
168 MuiFormHelperText: FormHelperTextProps;
169 MuiFormLabel: FormLabelProps;
170 MuiGrid: GridProps;
171 MuiGrid2: Grid2Props;
172 MuiImageList: ImageListProps;
173 MuiImageListItem: ImageListItemProps;
174 MuiImageListItemBar: ImageListItemBarProps;
175 MuiIcon: IconProps;
176 MuiIconButton: IconButtonProps;
177 MuiInput: InputProps;
178 MuiInputAdornment: InputAdornmentProps;
179 MuiInputBase: InputBaseProps;
180 MuiInputLabel: InputLabelProps;
181 MuiLinearProgress: LinearProgressProps;
182 MuiLink: LinkProps;
183 MuiList: ListProps;
184 MuiListItem: ListItemProps;
185 MuiListItemButton: ListItemButtonProps;
186 MuiListItemAvatar: ListItemAvatarProps;
187 MuiListItemIcon: ListItemIconProps;
188 MuiListItemSecondaryAction: ListItemSecondaryActionProps;
189 MuiListItemText: ListItemTextProps;
190 MuiListSubheader: ListSubheaderProps;
191 MuiMenu: MenuProps;
192 MuiMenuItem: MenuItemProps;
193 MuiMenuList: MenuListProps;
194 MuiMobileStepper: MobileStepperProps;
195 MuiModal: ModalProps;
196 MuiNativeSelect: NativeSelectProps;
197 MuiOutlinedInput: OutlinedInputProps;
198 MuiPagination: PaginationProps;
199 MuiPaginationItem: PaginationItemProps;
200 MuiPaper: PaperProps;
201 MuiPopper: PopperProps;
202 MuiPopover: PopoverProps;
203 MuiRadio: RadioProps;
204 MuiRadioGroup: RadioGroupProps;
205 MuiRating: RatingProps;
206 MuiScopedCssBaseline: ScopedCssBaselineProps;
207 MuiSelect: SelectProps;
208 MuiSkeleton: SkeletonProps;
209 MuiSlider: SliderProps;
210 MuiSnackbar: SnackbarProps;
211 MuiSnackbarContent: SnackbarContentProps;
212 MuiSpeedDial: SpeedDialProps;
213 MuiSpeedDialAction: SpeedDialActionProps;
214 MuiSpeedDialIcon: SpeedDialIconProps;
215 MuiStack: StackProps;
216 MuiStep: StepProps;
217 MuiStepButton: StepButtonProps;
218 MuiStepConnector: StepConnectorProps;
219 MuiStepContent: StepContentProps;
220 MuiStepIcon: StepIconProps;
221 MuiStepLabel: StepLabelProps;
222 MuiStepper: StepperProps;
223 MuiSvgIcon: SvgIconProps;
224 MuiSwipeableDrawer: SwipeableDrawerProps;
225 MuiSwitch: SwitchProps;
226 MuiTab: TabProps;
227 MuiTable: TableProps;
228 MuiTableBody: TableBodyProps;
229 MuiTableCell: TableCellProps;
230 MuiTableContainer: TableContainerProps;
231 MuiTableFooter: TableFooterProps;
232 MuiTableHead: TableHeadProps;
233 MuiTablePagination: TablePaginationProps;
234 MuiTableRow: TableRowProps;
235 MuiTableSortLabel: TableSortLabelProps;
236 MuiTabs: TabsProps;
237 MuiTextField: TextFieldProps;
238 MuiToggleButton: ToggleButtonProps;
239 MuiToggleButtonGroup: ToggleButtonGroupProps;
240 MuiToolbar: ToolbarProps;
241 MuiTooltip: TooltipProps;
242 MuiTouchRipple: TouchRippleProps;
243 MuiTypography: TypographyProps;
244 MuiUseMediaQuery: UseMediaQueryOptions;
245}