improved import
This commit is contained in:
parent
fd67ff2114
commit
868b386625
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import React from "react"
|
||||
import { MouseEvent } from "react"
|
||||
import styled from "styled-components"
|
||||
|
||||
import { faTag } from "@fortawesome/free-solid-svg-icons"
|
||||
|
@ -18,7 +18,7 @@ const StyledTag = styled.div`
|
|||
|
||||
interface Props {
|
||||
text: string
|
||||
onClick?: (event: React.MouseEvent<never>) => void
|
||||
onClick?: (event: MouseEvent<never>) => void
|
||||
}
|
||||
|
||||
const Tag = (props: Props) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue