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