Skip to content

Instantly share code, notes, and snippets.

@chrisbuttery
Created March 12, 2015 00:04
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 chrisbuttery/9b1e20a88f3f16bab363 to your computer and use it in GitHub Desktop.
Save chrisbuttery/9b1e20a88f3f16bab363 to your computer and use it in GitHub Desktop.
function render(context){
let {el,children,events} = context
let {foo,bar} = context.props
let {open,enabled} = context.state
return (
<button disabled={enabled} onClick={click} class={foo} isSomething={bar}>Submit</button>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment