UNPKG

@mui/styles

Version:

MUI Styles - The legacy JSS-based styling solution of Material UI.

12 lines (9 loc) 385 B
import { StyleRules, Styles } from '@mui/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>;