import React, {Component} from 'react';
import PropTypes from 'prop-types';
import _ from 'lodash';


/**
 * 
 * For Form Builder left components List  
 * 
 * *****/
class Components extends React.Component{


    static propTypes = {
        components: PropTypes.object,
     };

    static defaultProps = {
      components: {}
     };


   static mutateComponent =(WrappedComponent,injectedProps )=>{
        return class extends React.Component {
          render() {
            console.log('Current props: ', this.props);
            console.log('Next props: ', injectedProps);
            return <WrappedComponent  {...this.props} />;
           }
        }
      }
}
export default Components;
@@ -166,16 +166,21 @@
 /%0Aclass 
+Proxy
 Componen
@@ -580,24 +580,108 @@
 ctedProps);%0A
+            const newProps = %7B%0A              injected: injectedProps%0A            %7D%0A%0A
             
@@ -721,16 +721,30 @@
 s.props%7D
+ %7B...newProps%7D
  /%3E;%0A   
@@ -788,16 +788,21 @@
 default 
+Proxy
 Componen

add from components