Skip to content

Instantly share code, notes, and snippets.

@ooade
Created July 16, 2020 17:10
Show Gist options
  • Save ooade/9a67ab0b71e3df3d56af59bc6bdefd94 to your computer and use it in GitHub Desktop.
Save ooade/9a67ab0b71e3df3d56af59bc6bdefd94 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
const fetchMachine = Machine({
id: 'button',
type: 'parallel',
states: {
color: {
initial: 'idle',
states: {
idle: {}
}
},
bgColor: {
initial: 'idle',
states: {
idle: {}
}
},
borderColor: {
initial: 'idle',
states: {
idle: {}
}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment