How to config a storybook for a ui library for Ionic & Angular #14213
Unanswered
manzapanza
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm developing a library with some ui components for Ionic, and I would like to configure my first storybook to develop and document the library.
My lib doesn't have an AppController, but has only a module with a button component.
Here my stories file:
In the storybook the button works, but the style is not 100% like when is placed inside an Ionic app. I saw that on a normal app, Ionic apply some base css rules to the body tag, but how can achieve that?
Probably I need something like a parent App container to my button component, but how can I do that if I'm developing only a library?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions