UNPKG

@ant-design/react-native

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

23 lines (22 loc) 656 B
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { WithThemeStyles } from '../style'; import { BadgeStyle } from './style/index'; export interface BadgeProps extends WithThemeStyles<BadgeStyle> { style?: StyleProp<ViewStyle>; size?: 'large' | 'small'; overflowCount?: number; corner?: boolean; dot?: boolean; text?: any; children?: React.ReactNode; } export default class Badge extends React.Component<BadgeProps, any> { static defaultProps: { size: string; overflowCount: number; dot: boolean; corner: boolean; }; render(): React.JSX.Element; }