import React from 'react'; export interface SvgIconProps { /** * 指定图标内容 */ children?: React.ReactNode; /** * 自定义类名 */ className?: string; /** * 指定自定义样式 */ style?: React.CSSProperties; /** * 设置 svg 元素的 viewBox,默认为0 0 24 24 */ viewBox?: string; /** * 设置图标大小。数字或者字符串。如果是数字,则单位是像素 */ size?: number | string; /** * 设置颜色 */ color?: string; /** * 指定图标的标题 */ title?: string; /** * 不设置图标大小。一般用于``,这种情况下,CustomIcon已有了`viewBox`。 */ disabledViewBox?: boolean; } /** * SvgIcon组件 */ declare const SvgIcon: import("styled-components").StyledComponent<"svg", import("styled-components").DefaultTheme, { children: JSX.Element; className: string; viewBox: string | undefined; size: string | number; 'aria-hidden': "true" | undefined; role: "img" | "presentation"; focusable: "false"; } & SvgIconProps, "children" | "className" | "role" | "focusable" | "viewBox" | "aria-hidden" | "size">; export default SvgIcon;