woocommerce/plugins/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-shipping-methods-b.../attributes.tsx

32 lines
515 B
TypeScript

/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import formStepAttributes from '../../form-step/attributes';
export default {
...formStepAttributes( {
defaultTitle: __( 'Shipping options', 'woo-gutenberg-products-block' ),
defaultDescription: '',
} ),
allowCreateAccount: {
type: 'boolean',
default: false,
},
className: {
type: 'string',
default: '',
},
lock: {
type: 'object',
default: {
move: true,
remove: true,
},
},
};