UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

17 lines (13 loc) 393 B
function avoidInlineSpacingEvaluate(node, options) { const overriddenProperties = options.cssProperties.filter(property => { if (node.style.getPropertyPriority(property) === `important`) { return property; } }); if (overriddenProperties.length > 0) { this.data(overriddenProperties); return false; } return true; } export default avoidInlineSpacingEvaluate;