Skip to content

Commit

Permalink
fix(app): fix chip storybook (#14733)
Browse files Browse the repository at this point in the history
fix(app): fix chip storybook
  • Loading branch information
koji authored Mar 26, 2024
1 parent 244a80e commit 03f1149
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/src/atoms/Chip/Chip.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { Flex, COLORS, SPACING } from '@opentrons/components'
import { Flex, COLORS, ICON_DATA_BY_NAME, SPACING } from '@opentrons/components'
import { touchScreenViewport } from '../../DesignTokens/constants'
import { Chip } from '.'
import type { Story, Meta } from '@storybook/react'
Expand Down Expand Up @@ -27,6 +27,13 @@ export default {
},
defaultValue: 'medium',
},
iconName: {
options: Object.keys(ICON_DATA_BY_NAME),
control: {
type: 'select',
},
defaultValue: 'ot-alert',
},
},
component: Chip,
parameters: touchScreenViewport,
Expand Down

0 comments on commit 03f1149

Please sign in to comment.