Create Story for a Angular Material Module (Multiple Components needed) #24359
Unanswered
FreakeyPlays
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
-
Hey,
I am currently testing Storybook to decide if I want to use it in my project. I wanted to test it using angular material, but I have a problem. Some components from angular materials I need to use in combination with others. For example, the form field. How can I implement this? I thought if I set the component and the subcomponents, it would work, but I got some errors, and I also don't know what to put inside the meta tag and the StoryObj to create a story (I tryed to put the FormFieldModule in the <> but then i dont have the autocomplete). Also, components from Angular Material, like a dialog, are very difficult to implement. If you need any additional information, please tell me, but I don't have much experience with storybook.
Example
This is a small example of a story I created. It works, but it feels wrong. I did not find any answers to my question, but it is possible that I missed something.
Beta Was this translation helpful? Give feedback.
All reactions