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

fix: allow passing in checkbox label as child #297

Merged
merged 2 commits into from
Jan 5, 2023

Conversation

atomictangerine
Copy link
Contributor

@atomictangerine atomictangerine commented Jan 3, 2023

What I did

You can now pass in the label as a component child, not just as a label prop.

<Checkbox label="Checkbox Label"/>
<Checkbox>Checkbox Label</Checkbox>

@atomictangerine atomictangerine self-assigned this Jan 3, 2023
@atomictangerine atomictangerine requested a review from a team as a code owner January 3, 2023 19:42
@atomictangerine atomictangerine requested review from artmsilva, clairehhelms and wp-aberg and removed request for a team January 3, 2023 19:42
@vercel
Copy link

vercel bot commented Jan 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
wpds-ui-kit ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 5, 2023 at 5:13PM (UTC)
wpds-ui-kit-storybook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 5, 2023 at 5:13PM (UTC)

@atomictangerine atomictangerine merged commit 9e63975 into main Jan 5, 2023
@atomictangerine atomictangerine deleted the fix/checkbox-children branch January 5, 2023 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants