Skip to content

Commit

Permalink
feat: declare svg global type module
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Santiago committed Oct 14, 2021
1 parent ef4b1a6 commit 61aae86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/@types/App.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.svg' {
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
export default content;
}

0 comments on commit 61aae86

Please sign in to comment.