import { Box, Typography } from '@mui/material' import { styles } from './styles' import type { BasemapOption } from './types' export function Group({ values, selected, onChange, }: { values: Omit[] selected: string | null | undefined onChange: (id: string) => void }) { return ( {values.map((option) => { const isSelected = option.id === selected return ( onChange(option.id)} > {option.label} ) })} ) }