--- order: 3 title: zh-CN: 自定义尺寸 en-US: Customize Size --- ## zh-CN 自定义间距大小。 ## en-US Custom spacing size. ```jsx import React, { useState } from 'react'; import { Space, Slider, Button } from 'antd'; function SpaceCustomizeSize() { const [size, setSize] = useState(8); return ( <> setSize(value)} />

); } ReactDOM.render(, mountNode); ```