title: Whats the best way to conditionally add readOnly in React?
body: <p>In React given a prop that provides true/false how would one conditionally add <code>readOnly</code> to an input field in JSX?</p>
  
  <p>So if I had <code>this.props.boolean</code> whats a terse option for adding readOnly when this.props.boolean == false readOnly isn't attached, when this.props.boolean == true readOnly is attached. </p>