woocommerce/plugins/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-actions-block/attributes.tsx

31 lines
448 B
TypeScript

/**
* Internal dependencies
*/
import { defaultPlaceOrderButtonLabel } from './constants';
export default {
cartPageId: {
type: 'number',
default: 0,
},
showReturnToCart: {
type: 'boolean',
default: false,
},
className: {
type: 'string',
default: '',
},
lock: {
type: 'object',
default: {
move: true,
remove: true,
},
},
placeOrderButtonLabel: {
type: 'string',
default: defaultPlaceOrderButtonLabel,
},
};