All files / app/components CircularProgress.tsx

100% Statements 10/10
100% Branches 0/0
100% Functions 2/2
100% Lines 9/9

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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29      51x 51x 51x 51x   241x               689x 689x                 51x 51x  
import {
  CircularProgress as MuiCircularProgress,
  CircularProgressProps,
} from "@material-ui/core";
import classNames from "classnames";
import React, { ForwardedRef } from "react";
import makeStyles from "utils/makeStyles";
 
const useStyles = makeStyles((theme) => ({
  root: {},
}));
 
function _CircularProgress(
  { className, ...otherProps }: CircularProgressProps,
  ref: ForwardedRef<HTMLElement>
) {
  const classes = useStyles();
  return (
    <MuiCircularProgress
      {...otherProps}
      className={classNames(classes.root, className)}
      ref={ref}
    />
  );
}
 
const CircularProgress = React.forwardRef(_CircularProgress);
export default CircularProgress;