Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render child element. #9

Open
GustavoDinizMonteiro opened this issue Oct 14, 2019 · 1 comment
Open

Render child element. #9

GustavoDinizMonteiro opened this issue Oct 14, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@GustavoDinizMonteiro
Copy link
Contributor

GustavoDinizMonteiro commented Oct 14, 2019

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>;
@gitbrent gitbrent added this to the 1.2.0 milestone Oct 18, 2019
@gitbrent
Copy link
Owner

See: Pull #10

@gitbrent gitbrent modified the milestones: 1.2.0, 1.3.0 Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants