diff --git a/src/components/datepicker-field/DatepickerField.tsx b/src/components/datepicker-field/DatepickerField.tsx index 89ec3cc..475eb6d 100644 --- a/src/components/datepicker-field/DatepickerField.tsx +++ b/src/components/datepicker-field/DatepickerField.tsx @@ -1,6 +1,6 @@ import { DateFieldProps, useDateFieldProps } from "@form-atoms/field"; import { Datepicker, DatepickerProps } from "flowbite-react"; -import { DatepickerRef } from "flowbite-react/lib/esm/components/Datepicker/Datepicker"; +import type { DatepickerRef } from "flowbite-react/dist/types/components/Datepicker/Datepicker"; import { useEffect, useRef } from "react"; import { FlowbiteField } from "../field"; diff --git a/src/hooks/useFieldError.tsx b/src/hooks/useFieldError.tsx index 4402d50..2d99419 100644 --- a/src/hooks/useFieldError.tsx +++ b/src/hooks/useFieldError.tsx @@ -1,4 +1,4 @@ -import { FlowbiteStateColors } from "flowbite-react/lib/esm/components/Flowbite/FlowbiteTheme"; +import type { FlowbiteStateColors } from "flowbite-react"; import { FieldAtom, useFieldState } from "form-atoms"; export type InputColors = (keyof FlowbiteStateColors)[];