Commit 3cc8570e authored by afc163's avatar afc163

update components

parent 84ebabf5
...@@ -9,11 +9,13 @@ title: 迷你饼状图 ...@@ -9,11 +9,13 @@ title: 迷你饼状图
import { Pie } from 'ant-design-pro/lib/Charts'; import { Pie } from 'ant-design-pro/lib/Charts';
ReactDOM.render( ReactDOM.render(
<div style={{ width: 200, display: 'inline-block' }}>
<Pie <Pie
percent={28} percent={28}
subTitle="中式快餐" subTitle="中式快餐"
total="28%" total="28%"
height={129} height={130}
/> />
</div>
, mountNode); , mountNode);
```` ````
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
.ant-tag { .ant-tag {
padding: 0 8px; padding: 0 8px;
margin-right: 24px; margin-right: 24px;
font-size: @font-size-base;
} }
} }
&.expanded { &.expanded {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment