--- order: 3 title: zh-CN: 按钮样式 en-US: radio style ------------------ ## zh-CN 按钮样式的单选组合。 ## en-US The combination of radio button style. ```jsx import { Radio } from 'antd'; const RadioButton = Radio.Button; const RadioGroup = Radio.Group; function onChange(e) { console.log(`radio checked:${e.target.value}`); } ReactDOM.render(
Hangzhou Shanghai Beijing Chengdu
Hangzhou 上海 Beijing Chengdu
Hangzhou Shanghai Beijing Chengdu
, mountNode); ```