2021-06-17 08:35:24 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { ALLOWED_STATES } from '@woocommerce/block-settings';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import StateInput from './state-input';
|
|
|
|
import type { StateInputProps } from './StateInputProps';
|
|
|
|
|
|
|
|
const BillingStateInput = ( props: StateInputProps ): JSX.Element => {
|
2024-07-24 15:59:15 +00:00
|
|
|
const { ...restOfProps } = props;
|
2024-07-12 21:17:54 +00:00
|
|
|
|
|
|
|
return <StateInput states={ ALLOWED_STATES } { ...restOfProps } />;
|
2021-06-17 08:35:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default BillingStateInput;
|