-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(storybook/header): add header nav link button
- Loading branch information
1 parent
4819e11
commit fa73404
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
src/components/layout/header/header-nav-link-button.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' }, | ||
} |