2024-03-16 14:11:43 +08:00

13 lines
348 B
TypeScript

import React from 'react';
import { ViewStyle, TextStyle } from 'react-native';
export interface BadgeProps {
style?: ViewStyle;
label?: string | number;
labelStyle?: TextStyle;
}
export declare class Badge extends React.PureComponent<BadgeProps> {
static defaultProps: {};
constructor(props: any);
render(): JSX.Element;
}