@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
17 lines (16 loc) • 520 B
TypeScript
import { OutlineGlyphMapType } from '@ant-design/icons-react-native';
import React from 'react';
import { TextProps } from 'react-native';
export type IconNames = OutlineGlyphMapType;
export interface IconProps extends TextProps {
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | number;
color?: string;
name: IconNames;
}
export default class Icon extends React.Component<IconProps, any> {
static defaultProps: {
size: string;
};
static displayName: string;
render(): React.JSX.Element;
}