1 | import React from 'react';
|
2 | import { TextProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
3 | import { RneFunctionComponent } from '../helpers';
|
4 | export declare type BadgeProps = {
|
5 | containerStyle?: StyleProp<ViewStyle>;
|
6 | badgeStyle?: StyleProp<ViewStyle>;
|
7 | textProps?: TextProps;
|
8 | textStyle?: StyleProp<TextStyle>;
|
9 | value?: React.ReactNode;
|
10 | onPress?: (...args: any[]) => any;
|
11 | Component?: typeof React.Component;
|
12 | status?: 'primary' | 'success' | 'warning' | 'error';
|
13 | };
|
14 | declare const Badge: RneFunctionComponent<BadgeProps>;
|
15 | export { Badge };
|
16 | declare const _default: React.FunctionComponent<Omit<BadgeProps & Partial<import("../config").ThemeProps<BadgeProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<BadgeProps & Partial<import("../config").ThemeProps<BadgeProps>>>;
|
17 | export default _default;
|