Live Preview: https://www.webpackbin.com/bins/-KoSqF5OB0IRtbBEi822
Im trying to Clone and Modify a React Element Object.
I'm removing the inline styles of react element by cloning and adding css rules to stylesheet
Im using this function
I want to know how can i access the React Render function return value from the Element's Class ?
const Div = () => (<div></div>); // not working
const Div = (<div></div>); // working
const NewDiv = noInline(Div); // calling function