UNPKG

603 BTypeScriptView Raw
1import { ConfigAPI } from '@babel/core';
2import { Options as Options$1 } from '@svgr/babel-plugin-transform-svg-component';
3
4interface Options extends Options$1 {
5 ref?: boolean;
6 titleProp?: boolean;
7 descProp?: boolean;
8 expandProps?: boolean | 'start' | 'end';
9 dimensions?: boolean;
10 icon?: boolean | string | number;
11 native?: boolean;
12 svgProps?: {
13 [key: string]: string;
14 };
15 replaceAttrValues?: {
16 [key: string]: string;
17 };
18}
19declare const plugin: (_: ConfigAPI, opts: Options) => {
20 plugins: any[];
21};
22
23export { Options, plugin as default };