Created
May 18, 2017 07:18
-
-
Save goper-leo/3dc17b59f53e69e88bd759e9df18ed39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDom from 'react-dom'; | |
const SingleList = (props) => { | |
return ( | |
<li className="dropdown"> | |
<a> | |
Room Type | |
<span className="caret"></span> | |
</a> | |
<div className="dropdown-menu" aria-labelledby="dLabel"> | |
asdasd | |
</div> | |
</li> | |
); | |
}; | |
class Navheader extends React.Component { | |
data = {counter : 0 }; | |
render() { | |
return ( | |
<ul className="nav navbar-nav navbar-left"> | |
<li className="dropdown"> | |
<a> | |
Room Type | |
<span className="caret"></span> | |
</a> | |
<div className="dropdown-menu" aria-labelledby="dLabel"> | |
asdasd | |
</div> | |
</li> | |
<li className="dropdown"> | |
<a> | |
Price range | |
<span className="caret"></span> | |
</a> | |
<div className="dropdown-menu" aria-labelledby="dLabel"> | |
asdasd | |
</div> | |
</li> | |
<li className="dropdown"> | |
<a> | |
Instant Book | |
<span className="caret"></span> | |
</a> | |
<div className="dropdown-menu" aria-labelledby="dLabel"> | |
asdasd | |
</div> | |
</li> | |
<li className="dropdown"> | |
<a> | |
More Filters | |
<span className="caret"></span> | |
</a> | |
<div className="dropdown-menu" aria-labelledby="dLabel"> | |
asdasd | |
</div> | |
</li> | |
</ul> | |
); | |
} | |
} | |
export default Navheader; | |
ReactDom.render(<Navheader />, document.getElementById('third-layer')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment