9 lines
309 B
TypeScript
9 lines
309 B
TypeScript
// 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;
|
|
}
|