woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/proceed-to-checkout-block/attributes.tsx

23 lines
309 B
TypeScript

/**
* Internal dependencies
*/
import { defaultButtonLabel } from './constants';
export default {
checkoutPageId: {
type: 'number',
default: 0,
},
lock: {
type: 'object',
default: {
move: true,
remove: true,
},
},
buttonLabel: {
type: 'string',
default: defaultButtonLabel,
},
};