Skip to content

Commit

Permalink
docs(storybook/header): add header nav link button
Browse files Browse the repository at this point in the history
  • Loading branch information
MFarabi619 committed Sep 20, 2024
1 parent 4819e11 commit fa73404
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/components/layout/header/header-nav-link-button.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import type { Meta, StoryObj } from '@storybook/react'

import { HeaderNavLinkButton } from './header-nav-link-button.tsx'

const meta = {
title: 'Website/Layout/Header/HeaderNavLinkButton',
component: HeaderNavLinkButton,
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
// More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
},
} satisfies Meta<typeof Header>

export default meta

type Story = StoryObj<typeof meta>

export const Home: Story = {
args: { name: 'Home', path: '#home' },
}

export const About: Story = {
args: { name: 'About', path: '#about' },
}

export const Patronage: Story = {
args: { name: 'Patronage', path: '#patronage' },
}

export const Contact: Story = {
args: { name: 'Contact', path: '#contact' },
}

0 comments on commit fa73404

Please sign in to comment.