"use client"; import { useRouter } from "next/navigation"; import { IconX } from "@tabler/icons-react"; type CloseButtonProps = { /** Where to navigate when the user dismisses the wizard. */ href: string; }; export function CloseButton({ href }: CloseButtonProps) { const router = useRouter(); return ( ); }