src/index.js
function convertProperty(originalKey, originalValue) {
  const isNoFlip = /\/\*\s?@noflip\s?\*\//.test(originalValue)
  const key = isNoFlip ? originalKey : getPropertyDoppelganger(originalKey)
  const value = isNoFlip
    ? originalValue
    : getValueDoppelganger(key, originalValue)
  return {key, value}
}
function convertProperty(originalKey, originalValue) {
  const isNoFlip = /\/\*\s?@noflip\s?\*\//.test(originalValue)
  const key = isNoFlip ? originalKey : getPropertyDoppelganger(originalKey)
  const value = isNoFlip
    ? originalValue
    : getValueDoppelganger(key, originalValue)
  return {key, value}
}
function convertProperty ( originalKey , originalValue ) { const isNoFlip = / \/\*\s?@noflip\s?\*\/ / . test ( originalValue ) const key = isNoFlip ? originalKey : getPropertyDoppelganger ( originalKey ) const value = isNoFlip ? originalValue : getValueDoppelganger ( key , originalValue ) return { key , value } }
Converts a property and its value to the corresponding RTL key and value
@param {String} originalKey the original property key
@param {Number|String|Object} originalValue the original css property value
@return {Object} the new {key, value} pair
Converts a property and its value to the corresponding RTL key and value