Last active
February 15, 2019 19:02
-
-
Save fostergn/709b9f06e552a9a8c11f52d45cac61b3 to your computer and use it in GitHub Desktop.
Storybook Router
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
.addDecorator( | |
StoryRouter( | |
{}, | |
{ | |
initialEntry: `/schema/list/objects/${objectKey}/fields`, | |
routes: [ | |
{ | |
path: `/schema/list/objects/:objectKey/fields`, component: ObjectListFields | |
} | |
] | |
} | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment