From 24398cd3e5aa1bad42119bab0f467cedbc394be0 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Tue, 22 Dec 2015 14:34:31 +0800 Subject: [PATCH] docs: add demo for `overflowCount` --- components/badge/demo/overflow.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 components/badge/demo/overflow.md diff --git a/components/badge/demo/overflow.md b/components/badge/demo/overflow.md new file mode 100644 index 0000000000..cf863bcb98 --- /dev/null +++ b/components/badge/demo/overflow.md @@ -0,0 +1,15 @@ +# 封顶数字 + +- order: 6 + +超过 `overflowCount` 的会显示为 `${overflowCount}+`。 + +--- + +````jsx +import { Badge } from 'antd'; + +ReactDOM.render( + +, document.getElementById('components-badge-demo-overflow')); +````