code: function createMarkupForStyles(styles, component) {
      var serialized = '';
      for (var styleName in styles) {
        if (!styles.hasOwnProperty(styleName)) {
          continue;
        }
        var styleValue = styles[styleName];
        if (styleValue != null) {
          serialized += processStyleName(styleName) + ':';
          serialized += dangerousStyleValue(styleName, styleValue, component) + ';';
        }
      }
      return serialized || null;
    }
docs: Serializes a mapping of style properties for use as inline styles:
  
  > createMarkupForStyles({width: '200px', height: 0})
  "width:200px;height:0;"
  
  Undefined values are ignored so that declarative programming is easier.
  The result should be HTML-escaped before insertion into the DOM.
  
  @param {object} styles
  @param {ReactDOMComponent} component
  @return {?string}