UNPKG

582 BTypeScriptView Raw
1import React from 'react';
2import { IBaseProps } from './Base';
3export interface IImageProps extends IBaseProps, React.Props<any> {
4 attrs: {
5 /**
6 * @example
7 * // 数组形式: [ [ 'M', 100, 100 ], [ 'L', 200, 200 ] ]
8 * // 字符串形式: M 100,100 L 200,200
9 * @type {(string | any[])}
10 */
11 path?: string | any[];
12 [key: string]: any;
13 };
14 [key: string]: any;
15}
16declare const _default: React.ForwardRefExoticComponent<Pick<IImageProps, string | number> & React.RefAttributes<any>>;
17export default _default;