chore: remove react imports (#1867)

reolves #1856
This commit is contained in:
Kira Pilot
2022-05-31 10:01:37 -04:00
committed by GitHub
parent 26a2a169df
commit dd55d4577d
177 changed files with 192 additions and 293 deletions

View File

@ -1,5 +1,5 @@
import { makeStyles } from "@material-ui/core/styles"
import React from "react"
import { FC } from "react"
import { MONOSPACE_FONT_FAMILY } from "../../theme/constants"
import { CopyButton } from "../CopyButton/CopyButton"
@ -10,7 +10,7 @@ export interface CodeExampleProps {
/**
* Component to show single-line code examples, with a copy button
*/
export const CodeExample: React.FC<CodeExampleProps> = ({ code }) => {
export const CodeExample: FC<CodeExampleProps> = ({ code }) => {
const styles = useStyles()
return (