You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
864 B
18 lines
864 B
import React from 'react';
|
|
import { TextProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
import { RneFunctionComponent } from '../helpers';
|
|
export declare type BadgeProps = {
|
|
containerStyle?: StyleProp<ViewStyle>;
|
|
badgeStyle?: StyleProp<ViewStyle>;
|
|
textProps?: TextProps;
|
|
textStyle?: StyleProp<TextStyle>;
|
|
value?: React.ReactNode;
|
|
onPress?: (...args: any[]) => any;
|
|
Component?: typeof React.Component;
|
|
status?: 'primary' | 'success' | 'warning' | 'error';
|
|
};
|
|
declare const Badge: RneFunctionComponent<BadgeProps>;
|
|
export { Badge };
|
|
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>>>;
|
|
export default _default;
|