1 | import { ConfigAPI, NodePath, types } from '@babel/core';
|
2 |
|
3 | interface Value {
|
4 | value: string;
|
5 | newValue: string | boolean | number;
|
6 | literal?: boolean;
|
7 | }
|
8 | interface Options {
|
9 | values: Value[];
|
10 | }
|
11 | declare const addJSXAttribute: (api: ConfigAPI, opts: Options) => {
|
12 | visitor: {
|
13 | JSXAttribute(path: NodePath<types.JSXAttribute>): void;
|
14 | };
|
15 | };
|
16 |
|
17 | export { Options, Value, addJSXAttribute as default };
|