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

feat(component): allow Box to render with a different tag #242

Merged
merged 1 commit into from
Nov 8, 2019

Conversation

deini
Copy link
Member

@deini deini commented Nov 7, 2019

Change the rendered Tag / Component at runtime

<Box as="section" />

This will render a <section> instead of a <div>.

@deini deini requested a review from a team November 7, 2019 23:47
@deini deini merged commit a933b45 into bigcommerce:master Nov 8, 2019
@deini deini deleted the boxAs branch November 8, 2019 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants