"use client"; import { useState } from "react"; import type { ComponentRenderProps } from "./types"; import { baseClass, getCustomClass } from "./utils"; export function Radio({ element }: ComponentRenderProps) { const { props } = element; const customClass = getCustomClass(props); const options = (props.options as string[]) || []; const [selected, setSelected] = useState(0); return (