Created
February 12, 2015 14:34
-
-
Save marcuswestin/023270c6b178b8c7dc42 to your computer and use it in GitHub Desktop.
React.js without jsx
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
lightbox.Show({ | |
closable: true, | |
content: div(W(240), | |
div(Fill, | |
div('How did it go?', Font(18)), | |
div(style({ margin:px(8,0) }), | |
div(style({ border:'1px solid #666', marginBottom:24+8, borderRadius:4 }), | |
textarea(id('EndChatComment'), style({ margin:4, width:'90%', border:'none', resize:'none', height:80 })) | |
) | |
) | |
), | |
div(Pos.br(0,0), | |
Button('RESOLVED', Bg('#15661F'), Margin(8,8,8,0), tappable(bind(this, function() { | |
this.endConversation(eventLog, true) | |
}))), | |
Button('UN-RESOLVED', Bg('#7D3326'), Margin(8,8,8,0), tappable(bind(this, function() { | |
this.endConversation(eventLog, false) | |
}))), | |
div(Clear) | |
) | |
) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment