Skip to content

Commit

Permalink
Add Date stories
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-slobodian committed Jun 10, 2024
1 parent 58ff159 commit 55c331d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/components/date/Date.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { Meta, StoryObj } from "@storybook/react";
import { Date as DateComponent } from "./Date";

const meta: Meta<typeof DateComponent> = {
title: "Components/Date",
component: DateComponent,
};

export default meta;
type Story = StoryObj<typeof DateComponent>;

export const Default: Story = {
args: {
date: new Date(),
},
};

0 comments on commit 55c331d

Please sign in to comment.