File "attributes.js"
Full Path: /home/warrior1/public_html/plugins/woocommerce/packages/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/attributes.js
File size: 332 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* External dependencies
*/
import { isFeaturePluginBuild } from '@woocommerce/block-settings';
let blockAttributes = {
productId: {
type: 'number',
default: 0,
},
};
if ( isFeaturePluginBuild() ) {
blockAttributes = {
...blockAttributes,
textAlign: {
type: 'string',
},
};
}
export default blockAttributes;