@material-ui/lab
Version:
Laboratory for new Material-UI modules.
10 lines (9 loc) • 401 B
TypeScript
/**
* All standard components exposed by `material-ui` are `StyledComponents` with
* certain `classes`, on which one can also set a top-level `className` and inline
* `style`.
*/
export declare type ExtendMui<C, Removals extends keyof C = never> = Omit<C, 'classes' | 'theme' | Removals>;
export declare type MakeOptional<T, K extends keyof T> = {
[P in K]?: T[P] | undefined;
} & Omit<T, K>;