Skip to content

Commit

Permalink
fixed UnderlinePanels.Tab story rendering issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ddoyle2017 authored Jan 15, 2025
1 parent 61c8f49 commit 868145a
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
import React from 'react'
import type {Meta, StoryFn} from '@storybook/react'
import UnderlinePanels from './UnderlinePanels'
import {PeopleIcon, TerminalIcon, CodespacesIcon} from '@primer/octicons-react'
import {OcticonArgType} from '../../utils/story-helpers'

export default {
title: 'Experimental/Components/UnderlinePanels.Tab',
component: UnderlinePanels.Tab,
decorators: [
Story => {
return (
<UnderlinePanels aria-label="Select a tab">
<Story />
</UnderlinePanels>
)
},
],
parameters: {
controls: {
expanded: true,
Expand All @@ -25,7 +14,6 @@ export default {
args: {
'aria-selected': true,
counter: '14K',
icon: PeopleIcon,
},
argTypes: {
'aria-selected': {
Expand All @@ -36,7 +24,6 @@ export default {
counter: {
type: 'string',
},
icon: OcticonArgType([PeopleIcon, TerminalIcon, CodespacesIcon]),
},
} as Meta<typeof UnderlinePanels.Tab>

Expand Down

0 comments on commit 868145a

Please sign in to comment.