-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because the props of ActionMenu are properly annotated, the Storybook infers controls even when they're not intuitive for the playground - for example: classname, ref, id. I've made the playground only show controls for props we'd explicitly want to play with. Weirdly the controls are filtered by their name rather than argType key which is why they have to be hard-coded. This also removes the args from the default story so the code example is ready to use.
- Loading branch information
1 parent
32cf25f
commit 3a8b899
Showing
1 changed file
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters