Created
April 16, 2019 11:44
-
-
Save stuf/f7d16e331f8ac5dd4f76f215fc77a0e2 to your computer and use it in GitHub Desktop.
Services*
This file contains 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
Services* | |
Init* | |
init -> Get Results | |
Get Results | |
success -> Show Results | |
failed -> Show Error | |
Show Results | |
Show Error |
This file contains 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
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
const x = ( | |
<div style={{ color: 'red' }}> | |
{current_state_name} | |
</div> | |
); | |
return x; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment