UNPKG

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