Skip to content

Instantly share code, notes, and snippets.

@okonet
Created August 13, 2020 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save okonet/6e130fc21550d18737779ff19cbec3b0 to your computer and use it in GitHub Desktop.
Save okonet/6e130fc21550d18737779ff19cbec3b0 to your computer and use it in GitHub Desktop.
DatePicker
DatePicker
DateNotSet
click -> SelectDate
SelectDate
hover -> DateHighlighted
DateHighlighted
click -> DateSet
DateSelected
hover -> DateHighlighted
DateSet
click -> DateSelected
function render(model){
let current_state_name = model.active_states[0].name;
return <h1>The current state is: {current_state_name}</h1>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment