Skip to content

Commit

Permalink
doc: add autodoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Jul 5, 2024
1 parent c7ce195 commit 584f546
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/stories/components/PhosphorIcon.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import PhosphorIcon from '@/components/PhosphorIcon'

export default {
title: 'Components/PhosphorIcon',
tags: ['autodocs'],
component: PhosphorIcon,
argTypes: {
variant: {
Expand Down Expand Up @@ -74,3 +75,19 @@ export const Spinning = {
spin: true
}
}

export const VariantPrimary = {
args: {
name: 'rocket',
variant: 'primary',
size: '32px'
}
}

export const VariantSecondary = {
args: {
name: 'rocket',
variant: 'secondary',
size: '32px'
}
}

0 comments on commit 584f546

Please sign in to comment.