@rneui/base
Version:
Cross Platform React Native UI Toolkit
14 lines (13 loc) • 572 B
TypeScript
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>;