18 lines
344 B
JavaScript
18 lines
344 B
JavaScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { getSetting } from '@woocommerce/settings';
|
|
|
|
export const blockName = 'woocommerce/cart-i2';
|
|
export const blockAttributes = {
|
|
isPreview: {
|
|
type: 'boolean',
|
|
default: false,
|
|
save: false,
|
|
},
|
|
hasDarkControls: {
|
|
type: 'boolean',
|
|
default: getSetting( 'hasDarkEditorStyleSupport', false ),
|
|
},
|
|
};
|