From b0b4b81fcc0e91e8fc478772464bc57866b57ad3 Mon Sep 17 00:00:00 2001 From: Iacopo Leardini Date: Thu, 21 Dec 2023 17:26:13 +0100 Subject: [PATCH] fix: export DateInput --- src/stories/DateInput/DateInput.stories.tsx | 2 +- src/stories/DateInput/index.tsx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/stories/DateInput/DateInput.stories.tsx b/src/stories/DateInput/DateInput.stories.tsx index 442b824..5c2362f 100644 --- a/src/stories/DateInput/DateInput.stories.tsx +++ b/src/stories/DateInput/DateInput.stories.tsx @@ -1,4 +1,4 @@ -import DateInput from "."; +import { DateInput } from "."; import { Story, Meta } from "@storybook/react"; import { DatepickerGlobalStyle } from "./_style"; diff --git a/src/stories/DateInput/index.tsx b/src/stories/DateInput/index.tsx index cae7dfc..a1aa252 100644 --- a/src/stories/DateInput/index.tsx +++ b/src/stories/DateInput/index.tsx @@ -39,7 +39,7 @@ export interface DatepickerProps { }; } -const DateInput = ({ +export const DateInput = ({ id, name, value, @@ -130,5 +130,3 @@ const DateInput = ({ ); }; - -export default DateInput;