Skip to content

Instantly share code, notes, and snippets.

@OscarGodson
Created November 3, 2014 10:15
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save OscarGodson/8af90d217f72f4040839 to your computer and use it in GitHub Desktop.
function render () {
var self = this;
return (
React.DOM.nav({className: "sidebar slide-page-right"},
React.DOM.ul({className: "nav-list"},
this.navItems.map(function (item, i) {
return (
React.DOM.li({className: "nav-list-item", onClick: this.props.handleClick},
React.DOM.i({className: iconClassList}),
React.DOM.span({className: "nav-title"}, this.props.name)
)
)
)
})
)
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment