mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
212 B
212 B
order | title |
---|---|
3 | 两种大小 |
size="small"
表示小号开关。
import { Switch } from 'antd';
ReactDOM.render(
<div>
<Switch />
<Switch size="small" />
</div>
, mountNode);