Skip to content

Commit

Permalink
chore(ui): add typing for svg files
Browse files Browse the repository at this point in the history
  • Loading branch information
renanvalentin committed May 31, 2023
1 parent ade38e8 commit 1236a6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/.gitignore
@@ -0,0 +1,2 @@
# Do not ignore the following
!*.d.ts
3 changes: 3 additions & 0 deletions packages/ui/src/typings/svg.d.ts
@@ -0,0 +1,3 @@
declare module '*.svg' {
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
}

0 comments on commit 1236a6a

Please sign in to comment.