Last active
January 14, 2020 07:12
-
-
Save usulpro/0a6819d6c362689e8f0e8b926da9c6ec to your computer and use it in GitHub Desktop.
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
import { addDecorator } from '@storybook/react'; | |
import { withGraphCMS } from '@focusreactive/storybook-addon-graphcms'; | |
addDecorator(withGraphCMS({ endpoint: CMS_ENDPOINT, token: CMS_TOKEN, projectId: 'YOUR_PROJECT_ID', stage: 'master' })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment