woocommerce/plugins/woocommerce-blocks/assets/js/blocks/single-product/attributes.js

19 lines
249 B
JavaScript

/**
* Internal dependencies
*/
export const blockAttributes = {
isPreview: {
type: 'boolean',
default: false,
save: false,
},
/**
* The product ID to display.
*/
productId: {
type: 'number',
},
};
export default blockAttributes;