bootstrap-switch-button-react icon indicating copy to clipboard operation
bootstrap-switch-button-react copied to clipboard

Render child element.

Open GustavoDinizMonteiro opened this issue 5 years ago • 1 comments

Component is not able to render a child component, for example an image inside instead of a lable.

Example:

<Switch
  checked={this.state.checked}
  onChange={this.handleChangeRadio}
  onstyle="success"
  onlabel=" "
  offlabel=" "
  offstyle="light"
  size="xs"
>
  <img src={require("../assets/link.png")} />
</Switch>;

GustavoDinizMonteiro avatar Oct 14 '19 11:10 GustavoDinizMonteiro

See: Pull #10

gitbrent avatar Oct 18 '19 03:10 gitbrent