GoScrobble/web/node_modules/@material-ui/styles/getStylesCreator/getStylesCreator.d.ts

12 lines
391 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import { StyleRules, Styles } from '@material-ui/styles/withStyles';
export interface StylesCreator<Theme, Props extends object, ClassKey extends string = string> {
create: (theme: Theme, name: string) => StyleRules<Props, ClassKey>;
options: {};
themingEnabled: boolean;
}
export default function getStylesCreator<S extends Styles<any, any>>(
style: S
): StylesCreator<any, any>;