grafana_bak/public/test/mocks/react-inlinesvg.tsx
2025-04-01 10:38:02 +09:00

19 lines
331 B
TypeScript

import { Ref } from 'react';
export default function ReactInlineSVG({
src,
innerRef,
cacheRequests,
preProcessor,
...rest
}: {
src: string;
innerRef: Ref<SVGSVGElement>;
cacheRequests: boolean;
preProcessor: () => string;
}) {
return <svg id={src} ref={innerRef} {...rest} />;
}
export const cacheStore = {};