--- order: 5 title: zh-CN: 大小 en-US: Size --- ## zh-CN 大号页签用在页头区域,小号用在弹出框等较狭窄的容器内。 ## en-US Large size tabs are usally used in page header, and small size could be used in Modal. ````jsx import { Tabs, Radio } from 'antd'; const { TabPane } = Tabs; class Demo extends React.Component { state = { size: 'small' }; onChange = (e) => { this.setState({ size: e.target.value }); } render() { const { size } = this.state; return (