import * as React from 'react'; import { ComboboxWithLabel } from '@wcpos/components/src/combobox'; import useCountries, { CountriesProvider } from '../../../../contexts/countries'; const CountrySelect = ({ label, value, onChange }) => { const allCountries = useCountries(); const options = allCountries.map((country) => ({ label: country.name, value: country.code, })); return ; }; const CountrySelectWithProvider = (props) => { return ( ); }; export default CountrySelectWithProvider;