conditional jsx property

JavaScript
render() {
  return (
    <a className="navbar-brand" {... url ? {href: url} : {}}>Logo</a>
  )
}
Source

Also in JavaScript: