1
0
Fork 0
react-playground/node_modules/@mui/material/styles/variants.d.ts

10 lines
No EOL
411 B
TypeScript

import { Interpolation } from '@mui/system';
import { ComponentsPropsList } from "./props.js";
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;
}>;
}> };