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