Last active
January 13, 2023 05:05
-
-
Save gmlnchv/c30f7909e598edb1ec8b30f28e888b16 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
// .storybook/preview.js | |
import { DocsContainer } from "@storybook/addon-docs"; | |
import { ChakraProvider } from "@chakra-ui/react"; | |
export const parameters = { | |
docs: { | |
container: ({ children, context }) => ( | |
<DocsContainer context={context}> | |
<ChakraProvider>{children}</ChakraProvider> | |
</DocsContainer> | |
), | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment