@svgr/babel-plugin-transform-react-native-svg
Version:
Transform DOM elements into react-native-svg components
14 lines (11 loc) • 308 B
TypeScript
import { NodePath, types } from '@babel/core';
interface State {
replacedComponents: Set<string>;
unsupportedComponents: Set<string>;
}
declare const plugin: () => {
visitor: {
Program(path: NodePath<types.Program>, state: Partial<State>): void;
};
};
export { plugin as default };