I want to make a component of the reactor that would serve as a footer for the web page. In the react-bootstrap documentation, I found mention of the footer only in conjunction with a modal window (this component also has a header and footer). Also found just such a thing , but screw it did not work. Please tell me how you can solve this issue, maybe there is some tutorial on the basis of which this can be implemented? the code of my component (deleted lists of ul lists for better code perception):
const SearchBar = React.createClass({ _onChange: function (e) { this.props.onChange(e); }, render: function () { return ( <FormGroup> <InputGroup> <FormControl type="text" placeholder="Search..." name={name} onChange={this._onChange} /> <FormControl.Feedback /> <InputGroup.Button> <Button bsStyle="danger"><span className="glyphicon glyphicon-search"> </span></Button> </InputGroup.Button> </InputGroup> </FormGroup> ); } }); const IconBar = React.createClass({ render: function () { return ( <div className="row"> <div className="col-md-2"> <a href="" aria-hidden="true"> <Image src="/img/icons/facebook.png" responsive/> </a> </div> <div className="col-md-2"> <a href="" aria-hidden="true"> <Image src="/img/icons/googleplus.png" responsive/> </a> </div> <div className="col-md-2"> <a href="" aria-hidden="true"> <Image src="/img/icons/twitter.png" responsive/> </a> </div> <div className="col-md-2"> <a href="" aria-hidden="true"> <Image src="/img/icons/linkedin.png" responsive/> </a> </div> <div className="col-md-2"> <a href="" aria-hidden="true"> <Image src="/img/icons/yahoo.png" responsive/> </a> </div> </div> ); } }); var Footer = React.createClass({ render: function () { var footerStyle = { color: 'white', backgroundColor:'#4b4a45' }; return ( <div className="container-fluid" style={footerStyle}> <div className="col-md-4"> <div className="row"> <div className="col-md-5"> <ul> </ul> </div> <div className="col-md-5"> <ul> </ul> </div> </div> </div> <div className="col-md-4"> <div className="col-md-8 col-md-offset-2"> <IconBar/> <SearchBar/> </div> </div> <div className="col-md-4"> <div className="row"> <div className="col-md-5"> <ul> </ul> </div> <div className="col-md-4"> <ul> </ul> </div> </div> </div> </div> ); } }); export default Footer;