/**
* External dependencies
*/
import { getSetting } from '@woocommerce/settings';
const blockAttributes = {
isPreview: {
type: 'boolean',
default: false,
save: false,
},
isShippingCalculatorEnabled: {
default: getSetting( 'isShippingCalculatorEnabled', true ),
checkoutPageId: {
type: 'number',
default: 0,
hasDarkControls: {
default: getSetting( 'hasDarkEditorStyleSupport', false ),
showRateAfterTaxName: {
default: true,
};
export default blockAttributes;