import { forwardRef } from "react" import { Card, CardHeader } from "~/components/ui/card" import { views } from "~/constants" import { useI18n } from "~/hooks/common" import { cn } from "~/lib/utils" export const ViewSelectorRadioGroup = forwardRef< HTMLInputElement, React.InputHTMLAttributes >(({ className, ...rest }, ref) => { const t = useI18n() return ( {views.map((view) => (
))}
) })