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
parent
commit
bd76dc6b9e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/badge/index.tsx

2
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;
}

Loading…
Cancel
Save