@ucloud-pccl/react-components
Version:
UCloud pccl react components
12 lines (11 loc) • 474 B
TypeScript
import React from 'react';
export interface IconProps {
/** 图标类型 */
type: string;
/** 是否旋转 */
spin?: boolean;
/** 自定义 icon 类名前缀,使用自定义图标库时使用,默认为 icon\_\_ */
prefix?: string;
}
declare const _default: React.MemoExoticComponent<({ type, spin, prefix, className, ...rest }: IconProps & Omit<React.HTMLAttributes<HTMLElement>, keyof IconProps>) => React.JSX.Element>;
export default _default;