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

19 lines
405 B
JavaScript

/**
* External dependencies
*/
import { getSetting } from '@woocommerce/settings';
import { previewProducts } from '@woocommerce/resource-previews';
export const example = {
attributes: {
contentAlign: 'center',
dimRatio: 50,
editMode: false,
height: getSetting( 'default_height', 500 ),
mediaSrc: '',
showDesc: true,
productId: 'preview',
previewProduct: previewProducts[ 0 ],
},
};