import React from 'react'; import type { Country } from '../country'; import { SelectAddon } from '../../SelectAddon'; import styles from './CountrySelect.module.css'; type Props = { options: Country[]; value: Country; isDisabled?: boolean; onSelect: (selectedCountry: Country) => void; }; export const CountrySelect = ({ options, value, isDisabled = false, onSelect, }: Props) => { return ( { return ( {`${selectedItem.key}-flag`} ); }} /> ); };