import { FC } from "react" import ControlButton from "./ControlButton" import classNames from "classnames" interface Props { value: string options: string[] setValue: (value: string) => void interaction: (touch: boolean) => void } const InputRadio: FC = ({ value, options, setValue, interaction }) => { return ( <> {options.map((option) => ( { setValue(option) }} className={classNames( "rounded-none flex justify-between items-center py-1", value === option ? "bg-dark-800" : "" )} > {option} ))} ) } export default InputRadio