diff --git a/components/badge/index.tsx b/components/badge/index.tsx index 0095782c74..2e930fb0e9 100644 --- a/components/badge/index.tsx +++ b/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; }