1 | import { Interpolation } from '@mui/system';
|
2 | import { ComponentsPropsList } from './props';
|
3 |
|
4 | export type ComponentsVariants<Theme = unknown> = {
|
5 | [Name in keyof ComponentsPropsList]?: Array<{
|
6 | props:
|
7 | | Partial<ComponentsPropsList[Name]>
|
8 | | ((
|
9 | props: Partial<ComponentsPropsList[Name]> & {
|
10 | ownerState: Partial<ComponentsPropsList[Name]>;
|
11 | },
|
12 | ) => boolean);
|
13 | style: Interpolation<{ theme: Theme }>;
|
14 | }>;
|
15 | };
|