render(){ var input = navigator.onLine ? <YOUR_FORM_COMPONENT> : null; return( <div> {input} </div> ) }