import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { Select } from '@/components/ui/select'; import { Spinner } from '@/components/ui/Spinner'; import { Share2 } from 'lucide-react'; interface ShareLinkManagerCreateFormProps { expiresIn: number; setExpiresIn: (v: number) => void; isPublic: boolean; setIsPublic: (v: boolean) => void; isPending: boolean; onCreate: () => void; onCancel: () => void; expiryOptions: readonly { value: string; label: string }[]; } export function ShareLinkManagerCreateForm({ expiresIn, setExpiresIn, isPublic, setIsPublic, isPending, onCreate, onCancel, expiryOptions, }: ShareLinkManagerCreateFormProps) { return (
setIsPublic(e.target.checked)} className="rounded" />
); }