function(context) {
      var _children = [];
      _children.push(React.DOM.i({className: 'icon ' + context.icon}));
      React.Children.forEach(context.children, function(child) {
        _children.push(child);
      });
      context.children = _children;
    }
function(context) {
      var _children = [];
      _children.push(React.DOM.i({className: 'icon ' + context.icon}));
      React.Children.forEach(context.children, function(child) {
        _children.push(child);
      });
      context.children = _children;
    }
function ( context ) { var _children = [ ] ; _children . push ( React . DOM . i ( { className : 'icon ' + context . icon } ) ) ; React . Children . forEach ( context . children , function ( child ) { _children . push ( child ) ; } ) ; context . children = _children ; }
apply an icon to a button
apply an icon to a button