Replies: 1 comment
-
Hi @lwhite1, I think the props you're looking for are outlined in the component documentation on storybook. It shows all available options in the Component API table for the components and sheds some light on how to configure/use it within different scenarios.
I definitely hear your feedback on needing to improve the documentation. One thing we're working on right now is to make storybook controls more useful within Playground stories #10751. Ideally this will make it easier to discover that these props exist and demonstrate how they impact the component visually or behaviorally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a modal with a form and 'create' and 'cancel' buttons (see below). I set the button titles (based on example code I found) by setting the primary and secondary button text.
My issue is that I can't see how to get access to the buttons themselves (esp. the primary button) in order to:
I've googled but can only find one example (and that uses a modal wrapper, which i believe works differently). The official documentation only shows how to render one modal, with no discussion of behavior.
In general, i think this is a beautiful design system with awesome components, but the more advanced behaviors seem to have little or no documentation. If I'm missing them, i would greatly appreciate pointers; If not, I hope you'll find the resources for more documentation in the future.
thank you
Beta Was this translation helpful? Give feedback.
All reactions