Skip to content

Commit

Permalink
add card story
Browse files Browse the repository at this point in the history
  • Loading branch information
sitek94 committed Nov 26, 2023
1 parent 5030c04 commit 97d8b16
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions apps/docs/stories/card.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Card } from '@repo/ui'
import type { Meta, StoryObj } from '@storybook/react'

const meta: Meta<typeof Card> = {
component: Card,
}

export default meta

type Story = StoryObj<typeof Card>

export const Primary: Story = {
render: props => <Card {...props}>Hello</Card>,
name: 'Card',
args: {
children: 'Hello',
title: 'Card Title',
href: '#some-link',
},
}

0 comments on commit 97d8b16

Please sign in to comment.