import React from 'react';
/**
* SvgIcon组件属性类型
*/
export interface SvgIconProps {
/**
* 指定图标内容
*/
children?: React.ReactNode;
/**
* 自定义类名
*/
className?: string;
/**
* 指定自定义样式
*/
style?: React.CSSProperties;
/**
* 设置 svg 元素的 viewBox,默认为0 0 24 24
*/
viewBox?: string;
/**
* 指定图标的标题
*/
title?: string;
/**
* 不设置图标大小。一般用于``,这种情况下,CustomIcon已有了`viewBox`。
*/
disabledViewBox?: boolean;
}
/**
* 创建SVG图标
* @param path 图标路径
* @param displayName 图标名称
*/
export default function createSvgIcon(path: any, displayName: string): React.MemoExoticComponent>>;