UNPKG

743 BJavaScriptView Raw
1
2import React from "react";
3// import { action } from "@storybook/addon-actions";
4// import { linkTo } from "@storybook/addon-links";
5import { storiesOf } from "@storybook/react";
6import Rows from "./rows/main"
7import Playground from "./playground/main"
8
9// import { Button, Welcome } from "@storybook/react/demo";
10
11storiesOf("Popover", module)
12 .add("Playground", () => <Playground />)
13 .add("Rows", () => <Rows />)
14
15// storiesOf("Welcome", module).add("to Storybook", () => <Welcome showApp={linkTo("Button")} />);
16//
17// storiesOf("Button", module)
18// .add("with text", () => <Button onClick={action("clicked")}>Hello Button</Button>)
19// .add("with some emoji", () => <Button onClick={action("clicked")}>😀 😎 👍 💯</Button>);