Skip to content

Commit

Permalink
refactor: svgs are not imported directly
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed May 12, 2024
1 parent 5c7de0e commit 0680dc5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions declaration.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
declare module "*.module.css";

declare module "*.svg" {
import * as React from "react";

export const ReactComponent: React.FunctionComponent<
React.SVGProps<SVGSVGElement> & { title?: string }
>;
}

0 comments on commit 0680dc5

Please sign in to comment.