Skip to content

Render child element. #9

Open
Open
@GustavoDinizMonteiro

Description

@GustavoDinizMonteiro

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>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions