From 7dc26cf539f8b96d849cdd6ed177fb5c58541128 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 25 Oct 2017 21:09:42 +0800 Subject: [PATCH] Add Trend demo --- src/components/Trend/demo/basic.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/components/Trend/demo/basic.md diff --git a/src/components/Trend/demo/basic.md b/src/components/Trend/demo/basic.md new file mode 100644 index 00000000..82afcdab --- /dev/null +++ b/src/components/Trend/demo/basic.md @@ -0,0 +1,17 @@ +--- +order: 0 +title: 演示 +--- + +在数值背后添加一个小图标来标识涨跌情况。 + +````jsx +import Trend from 'ant-design-pro/lib/Trend'; + +ReactDOM.render( +
+ 12% + 11% +
+, mountNode); +```` -- GitLab