"use client"; import type { Block, FormRadioBlockProps } from "@/features/editor/state/editorStore"; import { ColorPickerField, TEXT_COLOR_PALETTE } from "@/features/editor/components/ColorPickerField"; import { NumericPropertyControl } from "@/features/editor/components/NumericPropertyControl"; interface FormRadioPropertiesPanelProps { block: Block; selectedBlockId: string | null; updateBlock: (id: string, partial: any) => void; } export function FormRadioPropertiesPanel({ block, selectedBlockId, updateBlock }: FormRadioPropertiesPanelProps) { if (!selectedBlockId || block.id !== selectedBlockId) return null; const radioProps = block.props as FormRadioBlockProps; const groupLabelDisplay = radioProps.groupLabelDisplay ?? "visible"; return (