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