mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
fix children map
This commit is contained in:
parent
5022bfef13
commit
4bf5e4e3f4
@ -34,7 +34,7 @@ export default React.createClass({
|
||||
},
|
||||
render: function () {
|
||||
var props = this.props;
|
||||
var children = props.children.map((radio) => {
|
||||
var children = React.Children.map(props.children, (radio) => {
|
||||
if (radio.props) {
|
||||
return <Radio
|
||||
key={radio.props.value}
|
||||
|
Loading…
Reference in New Issue
Block a user