UNPKG

fk-react-ui-components

Version:

Step 1 : Create a file in [ Seeds / Plants / Trees ] <br> Step 2 : It should export an Object with component name and story Component [Refer other components] <br> Step 3 : Story Component should return a react component <br> Step 3 : Created file should

23 lines (21 loc) 457 B
import React from "react"; import Button from "../Button/Button.js"; class SubmitButton extends React.Component { constructor(props) { super(props); // FOR NOW ITS A WRAPPER FOR STYLES ONLY } render() { return React.createElement( "div", null, React.createElement( Button, this.props, this.props.children ) ); } } export default SubmitButton; //# sourceMappingURL=SubmitButton.js.map