Blame view

src/RadioButton/RadioButton.html 399 Bytes
3a3ecabe   Imshann   init
1
2
3
4
5
6
7
  <label className={"ant-radio-button-wrapper" + (esRadioGroup.state.value === value ? " ant-radio-button-wrapper-checked" : "")}>
      <span className="ant-radio-button">
          <input type="radio" className="ant-radio-button-input" value={value} onClick={this.handleClick.bind(this, $event)}/>
          <span className="ant-radio-button-inner"></span>
      </span>
      <span>{children}</span>
  </label>