-
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.
- Loading branch information
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
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,29 @@ | ||
import { Meta, StoryObj } from "@storybook/react"; | ||
|
||
import { FormStatusBadge } from "./FormStatusBadge"; | ||
|
||
const meta: Meta<typeof FormStatusBadge> = { | ||
component: FormStatusBadge, | ||
}; | ||
|
||
export default meta; | ||
|
||
type Story = StoryObj<typeof FormStatusBadge>; | ||
|
||
export const Default: Story = { | ||
args: { | ||
status: "開始前", | ||
}, | ||
}; | ||
|
||
export const 受付中: Story = { | ||
args: { | ||
status: "受付中", | ||
}, | ||
}; | ||
|
||
export const 受付終了: Story = { | ||
args: { | ||
status: "受付終了", | ||
}, | ||
}; |
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,17 @@ | ||
import { Meta, StoryObj } from "@storybook/react"; | ||
|
||
import { Heading } from "./Heading"; | ||
|
||
const meta: Meta<typeof Heading> = { | ||
component: Heading, | ||
}; | ||
|
||
export default meta; | ||
|
||
type Story = StoryObj<typeof Heading>; | ||
|
||
export const Default: Story = { | ||
args: { | ||
children: "Heading", | ||
}, | ||
}; |
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,15 @@ | ||
import { Meta, StoryObj } from "@storybook/react"; | ||
|
||
import { Loading } from "./Loading"; | ||
|
||
const meta: Meta<typeof Loading> = { | ||
component: Loading, | ||
}; | ||
|
||
export default meta; | ||
|
||
type Story = StoryObj<typeof Loading>; | ||
|
||
export const Default: Story = { | ||
args: {}, | ||
}; |