1 | import { storiesOf } from "@storybook/react";
|
2 | import * as React from "react";
|
3 | import { Radio } from "../";
|
4 |
|
5 | storiesOf("Radio", module).add("Examples", () => (
|
6 | <div className="storycontainer">
|
7 | <div className="story-module">
|
8 | <h3>Exclusive buttons</h3>
|
9 | <Radio.Group>
|
10 | <Radio value="accept">I accept the terms</Radio>
|
11 | <br />
|
12 | <Radio value="no">I don't accept the terms</Radio>
|
13 | </Radio.Group>
|
14 | </div>
|
15 | <div className="story-module">
|
16 | <h3>Not-Exclusive buttons</h3>
|
17 | <Radio value="accept">I accept the terms</Radio>
|
18 | <br />
|
19 | <Radio value="no">I don't accept the terms</Radio>
|
20 | <Radio disabled={true}>Disabled</Radio>
|
21 | </div>
|
22 | </div>
|
23 | ));
|