1 | import { ConfigAPI, NodePath, types } from '@babel/core';
|
2 |
|
3 | interface Options {
|
4 | width: number | string;
|
5 | height: number | string;
|
6 | }
|
7 | declare const plugin: (_: ConfigAPI, opts: Options) => {
|
8 | visitor: {
|
9 | JSXOpeningElement(path: NodePath<types.JSXOpeningElement>): void;
|
10 | };
|
11 | };
|
12 |
|
13 | export { Options, plugin as default };
|