mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
feat: add story for snackbar
This commit is contained in:
parent
9b7d3c645b
commit
43f6245227
1 changed files with 18 additions and 0 deletions
18
src/components/snackbar/snackbar.stories.tsx
Normal file
18
src/components/snackbar/snackbar.stories.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
import { Snackbar } from './snackbar';
|
||||
|
||||
const meta: Meta<typeof Snackbar> = {
|
||||
component: Snackbar,
|
||||
title: 'Snackbar',
|
||||
};
|
||||
|
||||
export default meta;
|
||||
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
message: 'Hello World',
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue