1 | import { storiesOf } from "@storybook/react";
|
2 | import * as React from "react";
|
3 | import { Input } from "../components/Input";
|
4 |
|
5 | storiesOf("Input", module).add("Examples", () => (
|
6 | <div className="storycontainer">
|
7 | <div className="story-module">
|
8 | <h3>Input Fields</h3>
|
9 | <Input />
|
10 | <Input.TextArea />
|
11 | </div>
|
12 | <div className="story-module">
|
13 | </div>
|
14 | </div>
|
15 | ));
|