Created
January 20, 2018 02:13
-
-
Save pavelvlasov/efcad89b6cda37a615260a1a7136de17 to your computer and use it in GitHub Desktop.
sample story
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 { Bars } from "@/shared/api/chart/bar" | |
import { storiesOf } from "@storybook/react" | |
import * as React from "react" | |
import data from "./bars.data" | |
storiesOf("bars chart", module).add("default", () => { | |
return ( | |
<Bars data={data} /> | |
) | |
}) |
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 "./bars.story" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment