woocommerce/packages/woocommerce-blocks/assets/js/blocks/single-product/attributes.js
2021-12-10 12:03:04 +00:00

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;