Skip to content

Commit

Permalink
feat: add story for snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Apr 27, 2024
1 parent 9b7d3c6 commit 43f6245
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/snackbar/snackbar.stories.tsx
Original file line number Diff line number Diff line change
@@ -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',
},
};

0 comments on commit 43f6245

Please sign in to comment.