Files
igny8/frontend/node_modules/@svgr/babel-plugin-svg-dynamic-title/dist/index.d.ts
2025-11-09 10:27:02 +00:00

17 lines
328 B
TypeScript

import { NodePath, types } from '@babel/core';
type tag = 'title' | 'desc';
interface Options {
tag: tag | null;
}
interface State {
opts: Options;
}
declare const plugin: () => {
visitor: {
JSXElement(path: NodePath<types.JSXElement>, state: State): void;
};
};
export { Options, plugin as default };