"use client" import { useFormContext } from "react-hook-form" import { CheckIcon, CloseIcon, HeartIcon } from "@/components/Icons" import Caption from "@/components/TempDesignSystem/Text/Caption" import Footnote from "@/components/TempDesignSystem/Text/Footnote" import styles from "./card.module.css" import type { CardProps } from "./card" export default function Card({ Icon = HeartIcon, iconHeight = 32, iconWidth = 32, declined = false, highlightSubtitle = false, id, list, name, subtitle, text, title, type, value, }: CardProps) { const { register } = useFormContext() return ( ) }