* Fix type

* Update index.tsx
This commit is contained in:
ztplz 2019-03-08 12:26:01 +08:00 committed by 偏右
parent d4140713ab
commit 2e0a85324b

View File

@ -20,7 +20,7 @@ export interface BadgeProps {
scrollNumberPrefixCls?: string;
className?: string;
status?: 'success' | 'processing' | 'default' | 'error' | 'warning';
text?: string | JSX.Element;
text?: React.ReactNode;
offset?: [number | string, number | string];
title?: string;
}