--- order: 2 title: zh-CN: 自定义尺寸 en-US: Custom size --- ## zh-CN 自定义尺寸,适应在各种容器中展示。 ## en-US Custom sizes to fit in a variety of containers. ```jsx import { Descriptions, Radio, Button } from 'antd'; export default () => { const [size, setSize] = React.useState('default'); const onChange = e => { console.log('size checked', e.target.value); setSize(e.target.value); }; return (
default middle small

Edit} > Cloud Database Prepaid 18:00:00 $80.00 $20.00 $60.00 Data disk type: MongoDB
Database version: 3.4
Package: dds.mongo.mid
Storage space: 10 GB
Replication factor: 3
Region: East China 1


Edit}> Cloud Database Prepaid 18:00:00 $80.00 $20.00 $60.00
); }; ```