19 lines
442 B
TypeScript
19 lines
442 B
TypeScript
/**
|
|
* 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 => {
|
|
const { ...restOfProps } = props;
|
|
|
|
return <StateInput states={ ALLOWED_STATES } { ...restOfProps } />;
|
|
};
|
|
|
|
export default BillingStateInput;
|