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

Sidebar stories #56

Closed
mouracamila opened this issue Apr 18, 2022 · 1 comment
Closed

Sidebar stories #56

mouracamila opened this issue Apr 18, 2022 · 1 comment
Labels
📚 documentation Improvements or additions to documentation 🚀 enhancement New feature or request

Comments

@mouracamila
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Add the Sidebar component to the storybook

Describe the solution you'd like
Add the Sidebar component to the storybook.
Like this example: https://flowbite-react.com/storybook/?path=/story/components-carousel--default-carousel

Describe alternatives you've considered
n/

Additional context
n/

@mouracamila mouracamila added 📚 documentation Improvements or additions to documentation 🚀 enhancement New feature or request labels Apr 18, 2022
tulup-conner added a commit to tulup-conner/flowbite-react that referenced this issue Apr 30, 2022
The `Sidebar` is not highly configurable at the root
component, but there are a number of ways to set up
the contents, so we added those examples.
tulup-conner added a commit to tulup-conner/flowbite-react that referenced this issue May 1, 2022
The `Sidebar` is not highly configurable at the root
component, but there are a number of ways to set up
the contents, so we added those examples.
tulup-conner added a commit to tulup-conner/flowbite-react that referenced this issue May 1, 2022
The `Sidebar` is not highly configurable at the root
component, but there are a number of ways to set up
the contents, so we added those examples.
tulup-conner added a commit to tulup-conner/flowbite-react that referenced this issue May 2, 2022
The `Sidebar` is not highly configurable at the root
component, but there are a number of ways to set up
the contents, so we added those examples.
tulup-conner added a commit to tulup-conner/flowbite-react that referenced this issue May 2, 2022
The `Sidebar` is not highly configurable at the root
component, but there are a number of ways to set up
the contents, so we added those examples.
bacali95 pushed a commit that referenced this issue May 2, 2022
…#69)

* feat(route): Add `Sidebar` examples with new API

Adds the following examples for `Sidebar`s:

- [x] Default sidebar
- [x] Multi-level dropdown
- [x] Content separator
- [x] CTA button
- [x] Logo branding

* test(component): Add stories for `Sidebar`, resolving #56

The `Sidebar` is not highly configurable at the root
component, but there are a number of ways to set up
the contents, so we added those examples.

* refactor(story): Fix dupe story name in `Sidebar`

* fix(route): Restore accurate `Sidebar` example markup

Creating a component to reuse the code between
`storybook` and the page caused the page to display
the shortcut component instead of the actual
component's code.

* refactor(route): Use `flowbite-react` components in `Sidebar` example
@tulup-conner
Copy link
Collaborator

This can be closed!

@rluders rluders closed this as completed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Improvements or additions to documentation 🚀 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants