This repository has been archived on 2024-09-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
front/node_modules/@mui/material/styles/variants.d.ts
2024-09-18 13:34:19 -03:00

16 lines
463 B
TypeScript

import { Interpolation } from '@mui/system';
import { ComponentsPropsList } from './props';
export type ComponentsVariants<Theme = unknown> = {
[Name in keyof ComponentsPropsList]?: Array<{
props:
| Partial<ComponentsPropsList[Name]>
| ((
props: Partial<ComponentsPropsList[Name]> & {
ownerState: Partial<ComponentsPropsList[Name]>;
},
) => boolean);
style: Interpolation<{ theme: Theme }>;
}>;
};