Skip to content

Commit

Permalink
Commit Marco's diff verbatim
Browse files Browse the repository at this point in the history
  • Loading branch information
kienstra committed Apr 15, 2023
1 parent bff2e4b commit 07d18ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ const meta: ComponentMeta< typeof NavigableMenu > = {
component: NavigableMenu,
argTypes: {
children: { control: { type: null } },
onNavigate: { action: 'onNavigate' },
orientation: {
options: [ 'horizontal', 'vertical' ],
control: { type: 'radio' },
},
parameters: {
actions: { argTypesRegex: '^on.*' },
controls: {
expanded: true,
},
docs: { source: { state: 'open' } },
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ const meta: ComponentMeta< typeof TabbableContainer > = {
title: 'Components/TabbableContainer',
component: TabbableContainer,
argTypes: {
children: { type: undefined },
cycle: {
type: 'boolean',
children: { control: { type: null } },
},
parameters: {
actions: { argTypesRegex: '^on.*' },
controls: {
expanded: true,
},
onNavigate: { action: 'onNavigate' },
docs: { source: { state: 'open' } },
},
};
export default meta;
Expand Down

0 comments on commit 07d18ee

Please sign in to comment.