lib/jsx.js
function transformStyle(object) {
  if ((0, _has2.default)(object, 'style')) {
    object.style = (0, _transform2.default)((0, _split2.default)(object.style, ';'), (result, style) => {
      const firstColon = style.indexOf(':'),
            key = (0, _trim2.default)(style.substr(0, firstColon));

      if (key) {
        result[toJSXKey((0, _toLower2.default)(key))] = (0, _trim2.default)(style.substr(firstColon + 1));
      }
    }, {});
  }
}
function transformStyle(object) {
  if ((0, _has2.default)(object, 'style')) {
    object.style = (0, _transform2.default)((0, _split2.default)(object.style, ';'), (result, style) => {
      const firstColon = style.indexOf(':'),
            key = (0, _trim2.default)(style.substr(0, firstColon));

      if (key) {
        result[toJSXKey((0, _toLower2.default)(key))] = (0, _trim2.default)(style.substr(firstColon + 1));
      }
    }, {});
  }
}
function transformStyle ( object ) { if ( ( 0 , _has2 . default ) ( object , 'style' ) ) { object . style = ( 0 , _transform2 . default ) ( ( 0 , _split2 . default ) ( object . style , ';' ) , ( result , style ) => { const firstColon = style . indexOf ( ':' ) , key = ( 0 , _trim2 . default ) ( style . substr ( 0 , firstColon ) ) ; if ( key ) { result [ toJSXKey ( ( 0 , _toLower2 . default ) ( key ) ) ] = ( 0 , _trim2 . default ) ( style . substr ( firstColon + 1 ) ) ; } } , { } ) ; } }
Parse the specified inline style attribute value.

@memberof module:jsx
@private
@method transformStyle
@param {Object} object - the object to perform replacements on
Parse the specified inline style attribute value .