mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 03:15:16 +00:00
12 lines
391 B
TypeScript
12 lines
391 B
TypeScript
|
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>;
|