woocommerce/packages/woocommerce-blocks/assets/js/atomic/utils/block-styling.js
2021-12-10 12:03:04 +00:00

13 lines
229 B
JavaScript

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