Browse Source
Merge pull request #15264 from ant-design/xiaohuoni-patch-1
change badge text types
pull/15272/head
偏右
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
components/badge/index.tsx
|
|
@ -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; |
|
|
|
} |
|
|
|