FrontPastel/node_modules/@mui/system/createBox.d.ts

14 lines
471 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import { OverridableComponent } from '@mui/types';
import { BoxTypeMap } from './Box';
import { Theme as SystemTheme } from './createTheme';
export default function createBox<
T extends object = SystemTheme,
AdditionalProps extends Record<string, unknown> = {},
>(options?: {
themeId?: string;
defaultTheme: T;
defaultClassName?: string;
generateClassName?: (componentName: string) => string;
}): OverridableComponent<BoxTypeMap<AdditionalProps, 'div', T>>;