Created
June 20, 2015 07:19
-
-
Save ilake/c305c8cc67be53e0ca8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SellOrder = React.createClass | |
getInitialState: -> | |
amount: @props.data.amount | |
rate: @props.data.rate | |
handleChange: -> | |
# do nothing | |
render: -> | |
value = @state.amount | |
`<form className="form-inline"> | |
<div className="form-group"> | |
<input type="text" value={value} onChange={@handleChange} className="form-control" placeholder="Amout" name="amount" /> | |
</div> | |
</form>` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment