UNPKG

@rneui/base

Version:
14 lines (13 loc) 572 B
import React from 'react'; import { TextProps, StyleProp, ViewStyle, TextStyle } from 'react-native'; import { InlinePressableProps, RneFunctionComponent } from '../helpers'; export interface BadgeProps extends InlinePressableProps { containerStyle?: StyleProp<ViewStyle>; badgeStyle?: StyleProp<ViewStyle>; textProps?: TextProps; textStyle?: StyleProp<TextStyle>; value?: React.ReactNode; Component?: typeof React.Component; status?: 'primary' | 'success' | 'warning' | 'error'; } export declare const Badge: RneFunctionComponent<BadgeProps>;