@ankeetmaini on github, twitter and instagram
import React from "react";
class NormalComponent extends React.Component {
render() {
const { message, fruit, butter } = this.props;
return (
<div>
<h2>Overloaded Component</h2>
<div>message: {message}</div>
<div>fruit: {fruit}</div>
<div>butter: {butter}</div>
</div>
);
}
}
export default withNothing(withThisAndThat(withThat(withThis(NormalComponent))));