File size: 334 Bytes
a053984
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { ConfigAPI, NodePath, types } from '@babel/core';

interface Options {
    width: number | string;
    height: number | string;
}
declare const plugin: (_: ConfigAPI, opts: Options) => {
    visitor: {
        JSXOpeningElement(path: NodePath<types.JSXOpeningElement>): void;
    };
};

export { Options, plugin as default };