Files
est-frame/node_modules/@svgr/babel-plugin-svg-dynamic-title/dist/index.d.ts
2025-10-22 05:38:27 +00:00

17 lines
336 B
TypeScript
Executable File

import { NodePath, types } from '@babel/core';
declare 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 };