Skip to content

Commit

Permalink
feat(types): add svg type
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Aug 7, 2023
1 parent 9d679c1 commit 7c7af8c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/types/svg.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare module '*.svg' {
import { FC, SVGProps } from 'react'
export const ReactComponent: FC<SVGProps<SVGSVGElement>>

const src: string
export default src
}

0 comments on commit 7c7af8c

Please sign in to comment.