@tarojsx/ui
Version:
We reinvents the UI for Taro3+
11 lines (10 loc) • 397 B
TypeScript
import React from 'react';
import { CommonEventFunction } from '@tarojs/components';
import { AtIconBaseProps } from 'taro-ui/types/base';
import '../style/Icon.scss';
export interface IconProps extends Omit<AtIconBaseProps, 'customStyle' | 'size'> {
style?: React.CSSProperties;
size?: number | string;
onClick?: CommonEventFunction;
}
export declare const Icon: React.FC<IconProps>;