Use type import for react FC
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { FC, useCallback, useEffect, useRef, useState } from 'react';
|
||||
import { ProgressOptions } from 'types/progressOptions';
|
||||
import React, { type FC, useCallback, useEffect, useRef, useState } from 'react';
|
||||
import LinearProgress, { linearProgressClasses } from '@mui/material/LinearProgress';
|
||||
import classNames from 'classnames';
|
||||
import type { ProgressOptions } from 'types/progressOptions';
|
||||
|
||||
interface AutoTimeProgressBarProps {
|
||||
pct: number;
|
||||
|
||||
Reference in New Issue
Block a user