Skip to content

Commit

Permalink
Update Icon story
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Jan 5, 2024
1 parent 7576f72 commit 6f4e697
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/components/src/components/Icon/Icon.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as DesignTokens from '@department-of-veterans-affairs/mobile-tokens'
import { Icon, IconProps } from './Icon'
import { Meta, StoryObj } from '@storybook/react-native'
import { View } from 'react-native'
Expand Down Expand Up @@ -32,12 +33,12 @@ export default meta

type Story = StoryObj<IconProps>

export const _Primary: Story = {
storyName: 'Primary',
export const Example: Story = {
storyName: 'Example',
args: {
width: 100,
height: 100,
fill: '#1e90ff',
name: 'PaperClip',
width: 50,
height: 50,
fill: DesignTokens.colorUswdsSystemColorBlueVivid30,
name: 'HomeUnselected',
},
}

0 comments on commit 6f4e697

Please sign in to comment.