import React from 'react'; // import { Arrow } from './Arrow'; import './NumberSelector.css' // setType: (txt: string) => void // choices: { label: string, value: string }[] // selected: string export function NumberSelector({ setType, choices, selected }) { return (
{choices.map(v=>(
setType(v.value)}> {v.label}
))}
) }