chore: install @svgr/webpack
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
// Override Next's default `*.svg` typing so SVG imports return a React component
|
||||||
|
// (matches the @svgr/webpack runtime behavior configured in next.config.ts).
|
||||||
|
|
||||||
|
declare module "*.svg" {
|
||||||
|
import type { FC, SVGProps } from "react";
|
||||||
|
const Component: FC<SVGProps<SVGSVGElement>>;
|
||||||
|
export default Component;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user