Skip to content

Commit

Permalink
remove testing changes in storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Jan 19, 2024
1 parent 908f0f7 commit 5df31aa
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions packages/components/src/tabs/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,29 +273,17 @@ const ControlledModeTemplate: StoryFn< typeof Tabs > = ( props ) => {
<DropdownMenu
controls={ [
{
onClick: () =>
setTimeout(
() => setSelectedTabId( 'tab1' ),
3000
),
onClick: () => setSelectedTabId( 'tab1' ),
title: 'Tab 1',
isActive: selectedTabId === 'tab1',
},
{
onClick: () =>
setTimeout(
() => setSelectedTabId( 'tab2' ),
3000
),
onClick: () => setSelectedTabId( 'tab2' ),
title: 'Tab 2',
isActive: selectedTabId === 'tab2',
},
{
onClick: () =>
setTimeout(
() => setSelectedTabId( 'tab3' ),
3000
),
onClick: () => setSelectedTabId( 'tab3' ),
title: 'Tab 3',
isActive: selectedTabId === 'tab3',
},
Expand All @@ -311,7 +299,6 @@ const ControlledModeTemplate: StoryFn< typeof Tabs > = ( props ) => {
export const ControlledMode = ControlledModeTemplate.bind( {} );
ControlledMode.args = {
selectedTabId: 'tab3',
selectOnMove: false,
};

const TabBecomesDisabledTemplate: StoryFn< typeof Tabs > = ( props ) => {
Expand Down

0 comments on commit 5df31aa

Please sign in to comment.