diff --git a/apps/storybook/stories/react-date-picker/components/Monospace.tsx b/apps/storybook/stories/react-date-picker/components/Monospace.tsx deleted file mode 100644 index cfe95034..00000000 --- a/apps/storybook/stories/react-date-picker/components/Monospace.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { Text } from "@codedazur/react-components"; -import styled from "styled-components"; - -export const Monospace = styled(Text).attrs({ - as: "pre", -})` - font-family: monospace; - white-space: pre-wrap; -`; diff --git a/apps/storybook/stories/react-date-picker/useDatePicker.stories.tsx b/apps/storybook/stories/react-date-picker/useDatePicker.stories.tsx index cac4fc16..b7d34de4 100644 --- a/apps/storybook/stories/react-date-picker/useDatePicker.stories.tsx +++ b/apps/storybook/stories/react-date-picker/useDatePicker.stories.tsx @@ -30,7 +30,7 @@ import { UseDatePickerProps, useDatePicker, } from "@codedazur/react-date-picker"; -import { Monospace } from "./components/Monospace"; +import { Monospace } from "../../components/Monospace"; const DatePicker: FunctionComponent = (props) => { const { cursor, dates, month, toNextMonth, toPreviousMonth } = diff --git a/apps/storybook/stories/react-date-picker/useSingleDatePicker.stories.tsx b/apps/storybook/stories/react-date-picker/useSingleDatePicker.stories.tsx index e11dd98e..fe0dbf7d 100644 --- a/apps/storybook/stories/react-date-picker/useSingleDatePicker.stories.tsx +++ b/apps/storybook/stories/react-date-picker/useSingleDatePicker.stories.tsx @@ -19,10 +19,10 @@ import docs from "./useSingleDatePicker.docs.mdx"; import { addDays, Day } from "date-fns"; import { enGB, enUS, es, nl, ru } from "date-fns/locale"; import { FunctionComponent, useMemo, useRef, useState } from "react"; -import { Monospace } from "./components/Monospace"; import { Weekdays } from "./components/Weekdays"; import { Days } from "./components/Days"; import { Navigation } from "./components/Navigation"; +import { Monospace } from "../../components/Monospace"; const localeMap: Record = { "en-US": enUS,