import { ClockIcon } from "@heroicons/react/24/outline"; import type { CollectActionType } from "@hey/types/hey"; import dayjs from "dayjs"; import { motion } from "motion/react"; import ToggleWithHelper from "@/components/Shared/ToggleWithHelper"; import { RangeSlider } from "@/components/Shared/UI"; import { useCollectActionStore } from "@/store/non-persisted/post/useCollectActionStore"; import { EXPANSION_EASE } from "@/variants"; interface TimeLimitConfigProps { setCollectType: (data: CollectActionType) => void; } const TimeLimitConfig = ({ setCollectType }: TimeLimitConfigProps) => { const { collectAction } = useCollectActionStore((state) => state); return (