Skip to content

Instantly share code, notes, and snippets.

@Chryus
Last active January 10, 2017 23:30
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 Chryus/c091690a1024e7316947b2f155f24eab to your computer and use it in GitHub Desktop.
Save Chryus/c091690a1024e7316947b2f155f24eab to your computer and use it in GitHub Desktop.
import React from 'react'
import Prompt from '../components/Prompt'
class PromptContainer extends React.Component {
constructor(props) {
super(props)
this.state = { username: '' }
this.handleUpdateUser = this.handleUpdateUser.bind(this);
this.handleSubmitUser = this.handleSubmitUser.bind(this);
}
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment