'use client'; import * as React from 'react'; import RadioButton from '@components/RadioButton'; interface RadioButtonGroupProps { options: { value: string; label: string }[]; defaultValue?: string; } const RadioButtonGroup: React.FC = ({ options, defaultValue = '' }) => { const [selectedValue, setSelectedValue] = React.useState(defaultValue); const handleSelect = (value: string) => { setSelectedValue(value); }; return ( <> {options.map((option) => ( {option.label} ))} ); }; export default RadioButtonGroup;