()
| 102 | } |
| 103 | |
| 104 | renderItems () { |
| 105 | return this.state.data.map((item, i) => { |
| 106 | return ( |
| 107 | <Checkbox key={item.$key} |
| 108 | index={i} |
| 109 | readOnly={this.props.readOnly} |
| 110 | checked={item.$checked} |
| 111 | onChange={this.handleChange} |
| 112 | text={item.$text} |
| 113 | checkValue={item.$value} |
| 114 | /> |
| 115 | ); |
| 116 | }); |
| 117 | } |
| 118 | |
| 119 | render () { |
| 120 | let { className, fetchStatus, inline } = this.props; |