/** * External dependencies */ import PropTypes from 'prop-types'; import { decodeEntities } from '@wordpress/html-entities'; /** * Internal dependencies */ import Select from '../select'; const CountryInput = ( { className, countries, label, onChange, value = '', } ) => { const options = Object.keys( countries ).map( ( key ) => ( { key, name: decodeEntities( countries[ key ] ), } ) ); return (