Skip to content

Add containerElement prop to Sidebar.Item #279

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

Merged
merged 1 commit into from
Aug 21, 2020

Conversation

vine77
Copy link
Contributor

@vine77 vine77 commented Aug 12, 2020

This allows Sidebar.Item components not wrapped by a Sidebar.Section to be a div for example instead of an li outside a ul. This also fixes the issue of li "Home" and "Glossary" items on puppet.style not wrapped by a ul.

Screen Shot 2020-08-12 at 12 37 09 AM

@vine77 vine77 requested a review from a team as a code owner August 12, 2020 07:37
This allows Sidebar.Item components not wrapped by a Sidebar.Section to be a "div" for example instead of an "li" outside a "ul".
@vine77 vine77 force-pushed the features/add-container-element-sidebar-item branch from 4728ee0 to 37d02f0 Compare August 21, 2020 14:50
@vine77 vine77 merged commit 4b9297f into development Aug 21, 2020
@vine77 vine77 deleted the features/add-container-element-sidebar-item branch August 21, 2020 14:53
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.

1 participant