mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +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;
|
scrollNumberPrefixCls?: string;
|
||||||
className?: string;
|
className?: string;
|
||||||
status?: 'success' | 'processing' | 'default' | 'error' | 'warning';
|
status?: 'success' | 'processing' | 'default' | 'error' | 'warning';
|
||||||
text?: string;
|
text?: string | JSX.Element;
|
||||||
offset?: [number | string, number | string];
|
offset?: [number | string, number | string];
|
||||||
title?: string;
|
title?: string;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user