From 55c331d6913c07367e8d49e674b8490fb8391081 Mon Sep 17 00:00:00 2001 From: alex-slobodian Date: Mon, 10 Jun 2024 18:21:29 +0300 Subject: [PATCH] Add Date stories --- src/components/date/Date.stories.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/components/date/Date.stories.tsx diff --git a/src/components/date/Date.stories.tsx b/src/components/date/Date.stories.tsx new file mode 100644 index 00000000..d317bcd9 --- /dev/null +++ b/src/components/date/Date.stories.tsx @@ -0,0 +1,16 @@ +import type { Meta, StoryObj } from "@storybook/react"; +import { Date as DateComponent } from "./Date"; + +const meta: Meta = { + title: "Components/Date", + component: DateComponent, +}; + +export default meta; +type Story = StoryObj; + +export const Default: Story = { + args: { + date: new Date(), + }, +};