antd-mobile-rn
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
21 lines (20 loc) • 639 B
TypeScript
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { BadgePropsTypes } from './PropsType';
import { IBadgeStyle } from './style/index.native';
export interface BadgeNativeProps extends BadgePropsTypes {
styles?: IBadgeStyle;
style?: StyleProp<ViewStyle>;
}
export default class Badge extends React.Component<BadgeNativeProps, any> {
static defaultProps: {
size: string;
overflowCount: number;
dot: boolean;
corner: boolean;
styles: {
[x: string]: import("react-native").RegisteredStyle<any>;
};
};
render(): JSX.Element;
}