19 lines
467 B
TypeScript
19 lines
467 B
TypeScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { ALLOWED_COUNTRIES } from '@woocommerce/block-settings';
|
|
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import CountryInput from './country-input';
|
|
import type { CountryInputProps } from './CountryInputProps';
|
|
|
|
const BillingCountryInput = ( props: CountryInputProps ): JSX.Element => {
|
|
const { ...restOfProps } = props;
|
|
|
|
return <CountryInput countries={ ALLOWED_COUNTRIES } { ...restOfProps } />;
|
|
};
|
|
|
|
export default BillingCountryInput;
|