Skip to content

Instantly share code, notes, and snippets.

@pixelkritzel
Created September 26, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pixelkritzel/8a80f9e5446197b1c7ef to your computer and use it in GitHub Desktop.
Save pixelkritzel/8a80f9e5446197b1c7ef to your computer and use it in GitHub Desktop.
import React from 'react';
var template = function(){return(
<form onSubmit={ this.handleFormSubmit.bind(this) } >
<input type="text" value={ this.foo } ref="foo" />
<button type="submit">Go!</button>
</form>
)}
export default template;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment