Files
documentation/node_modules/@svgr/babel-plugin-remove-jsx-attribute/dist/index.d.ts
2024-03-22 03:47:51 +05:30

14 lines
351 B
TypeScript

import { ConfigAPI, NodePath, types } from '@babel/core';
interface Options {
elements: string[];
attributes: string[];
}
declare const removeJSXAttribute: (_: ConfigAPI, opts: Options) => {
visitor: {
JSXOpeningElement(path: NodePath<types.JSXOpeningElement>): void;
};
};
export { Options, removeJSXAttribute as default };