@mui/material
Version:
Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.
11 lines (9 loc) • 315 B
TypeScript
import { Interpolation } from '@mui/system';
import { Theme } from './createTheme';
import { ComponentsPropsList } from './props';
export type ComponentsVariants = {
[Name in keyof ComponentsPropsList]?: Array<{
props: Partial<ComponentsPropsList[Name]>;
style: Interpolation<{ theme: Theme }>;
}>;
};