const withRedBorder = Component => (props) => ( <Component {...props} style={{ border: "1px solid red" }} /> );
const Button = props => <button {...props}>Hello</button>;
const RedButton = withRedBorder(Button);// and use it as:<RedButton />