/**
* External dependencies
*/
import { getSetting } from '@woocommerce/settings';
export const blockName = 'woocommerce/checkout';
export const blockAttributes = {
hasDarkControls: {
type: 'boolean',
default: getSetting( 'hasDarkEditorStyleSupport', false ),
},
showRateAfterTaxName: {
default: getSetting( 'displayCartPricesIncludingTax', false ),
};
* @deprecated here for v1 migration support
export const deprecatedAttributes = {
showOrderNotes: {
default: true,
showPolicyLinks: {
showReturnToCart: {
cartPageId: {
type: 'number',
default: 0,