mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
update radio group demo
This commit is contained in:
parent
3f1714bb0c
commit
139eedf87c
@ -493,7 +493,7 @@ exports[`renders ./components/radio/demo/radiogroup-more.md correctly 1`] = `
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders ./components/radio/demo/radiogroup-optional.md correctly 1`] = `
|
||||
exports[`renders ./components/radio/demo/radiogroup-options.md correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-radio-group"
|
||||
|
@ -7,11 +7,15 @@ title:
|
||||
|
||||
## zh-CN
|
||||
|
||||
通过配置参数来控制渲染单选框。
|
||||
通过配置 `options` 参数来渲染单选框。
|
||||
|
||||
> `2.9.0` 之后支持。
|
||||
|
||||
## en-US
|
||||
|
||||
Render radios by configuring parameters.
|
||||
Render radios by configuring `options`.
|
||||
|
||||
> support after `2.9.0`.
|
||||
|
||||
```jsx
|
||||
import { Radio } from 'antd';
|
||||
@ -65,4 +69,4 @@ class App extends React.Component {
|
||||
}
|
||||
|
||||
ReactDOM.render(<App />, mountNode);
|
||||
```
|
||||
```
|
Loading…
Reference in New Issue
Block a user