import { Omit, Overwrite } from '@material-ui/types'; import { CreateCSSProperties, StyledComponentProps, WithStylesOptions, } from '@material-ui/styles/withStyles'; import * as React from 'react'; import { DefaultTheme } from '../defaultTheme'; // We don't want a union type here (like React.ComponentType) in order to support mapped types. export type StyledComponent
= (props: P) => React.ReactElement
| null;
/**
* @internal
*/
export type ComponentCreator