woocommerce/plugins/woocommerce-blocks/assets/js/atomic/utils/block-styling.js

13 lines
229 B
JavaScript

/**
* External dependencies
*/
import { isFeaturePluginBuild } from '@woocommerce/block-settings';
export const gatedStyledText = ( { color, fontSize } ) =>
isFeaturePluginBuild()
? {
color,
fontSize,
}
: {};