Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as React from "react";
import { storiesOf } from "@storybook/react";
import { CSSReset, theme } from "@chakra-ui/theme";
import { Box } from ".";
import createThemeContext from "@chakra-ui/system/dist/create-theme-context";
const [ThemeProvider] = createThemeContext(theme);
const stories = storiesOf("Box", module).addDecorator(story => (
{story()}
));
stories.add("default", () => (
Welcome to Box