All files / app/utils makeStyles.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14      60x     60x         591x    
import {
  makeStyles as muiMakeStyles,
  Theme as DefaultTheme,
} from "@material-ui/core";
import { Styles } from "@material-ui/styles/withStyles";
 
export default function makeStyles<
  Theme = DefaultTheme,
  Props extends Record<string, any> = {}, // eslint-disable-line
  ClassKey extends string = string
>(styles: Styles<Theme, Props, ClassKey>) {
  return muiMakeStyles(styles, { index: 1 });
}