Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
base
/
components
/
country-input
:
billing-country-input.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * External dependencies */ import PropTypes from 'prop-types'; import { getSetting } from '@woocommerce/settings'; /** * Internal dependencies */ import CountryInput from './country-input.js'; const BillingCountryInput = ( props ) => { return ( <CountryInput countries={ getSetting( 'allowedCountries', {} ) } { ...props } /> ); }; BillingCountryInput.propTypes = { onChange: PropTypes.func.isRequired, className: PropTypes.string, label: PropTypes.string, value: PropTypes.string, }; export default BillingCountryInput;