mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
Merge pull request #15264 from ant-design/xiaohuoni-patch-1
change badge text types
This commit is contained in:
commit
bd76dc6b9e
@ -20,7 +20,7 @@ export interface BadgeProps {
|
||||
scrollNumberPrefixCls?: string;
|
||||
className?: string;
|
||||
status?: 'success' | 'processing' | 'default' | 'error' | 'warning';
|
||||
text?: string;
|
||||
text?: string | JSX.Element;
|
||||
offset?: [number | string, number | string];
|
||||
title?: string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user