UNPKG

modo-mobile

Version:

A mobile UI toolkit, based on React

31 lines 921 B
import * as React from 'react'; import createFromIconfontCN from './IconFont'; export interface CustomIconComponentProps { width: string | number; height: string | number; fill: string; viewBox?: string; className?: string; style?: React.CSSProperties; ['aria-hidden']?: string; } export interface IconProps { type?: string; className?: string; title?: string; onClick?: React.MouseEventHandler<HTMLElement>; component?: React.ComponentType<CustomIconComponentProps>; viewBox?: string; spin?: boolean; style?: React.CSSProperties; svgStyle?: React.CSSProperties; svgClassName?: string; prefixCls?: string; } declare const Icon: React.SFC<IconProps>; export declare type IconType = typeof Icon & { createFromIconfontCN: typeof createFromIconfontCN; }; declare const _default: IconType; export default _default; //# sourceMappingURL=index.d.ts.map