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

19 lines
249 B
JavaScript
Raw Normal View History

2021-12-10 12:03:04 +00:00
/**
* Internal dependencies
*/
export const blockAttributes = {
isPreview: {
type: 'boolean',
default: false,
save: false,
},
/**
* The product ID to display.
*/
productId: {
type: 'number',
},
};
export default blockAttributes;