jsx conditional reb code example
Example: conditional jsx property
render() {
return (
<a className="navbar-brand" {... url ? {href: url} : {}}>Logo</a>
)
}
render() {
return (
<a className="navbar-brand" {... url ? {href: url} : {}}>Logo</a>
)
}