1 | import React from 'react';
|
2 | import { TabbedArgsTable } from './TabbedArgsTable';
|
3 | import { Normal, Compact, Sections } from './ArgsTable.stories';
|
4 | export default {
|
5 | component: TabbedArgsTable,
|
6 | title: 'Docs/TabbedArgsTable'
|
7 | };
|
8 |
|
9 | var Template = function Template(args) {
|
10 | return React.createElement(TabbedArgsTable, args);
|
11 | };
|
12 |
|
13 | Template.displayName = "Template";
|
14 | export var Tabs = Template.bind({});
|
15 | Tabs.args = {
|
16 | tabs: {
|
17 | Normal: Normal.args,
|
18 | Compact: Compact.args,
|
19 | Sections: Sections.args
|
20 | }
|
21 | };
|
22 | export var TabsInAddonPanel = Template.bind({});
|
23 | TabsInAddonPanel.args = {
|
24 | tabs: {
|
25 | Normal: Normal.args,
|
26 | Compact: Compact.args,
|
27 | Sections: Sections.args
|
28 | },
|
29 | inAddonPanel: true
|
30 | };
|
31 | export var Empty = Template.bind({});
|
32 | Empty.args = {
|
33 | tabs: {}
|
34 | }; |
\ | No newline at end of file |