Skip to content

Instantly share code, notes, and snippets.

@thiagodebastos
Last active September 24, 2019 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thiagodebastos/f70d06407785f56e1b2c39226de9a481 to your computer and use it in GitHub Desktop.
Save thiagodebastos/f70d06407785f56e1b2c39226de9a481 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 iccMachine = Machine({
id: 'inlineCardCreate',
initial: 'hide',
context: {
},
states: {
isIccGlobalMode: false,
isCardCreateEnabled: false,
isIccEnabled: false,
hide: {
on: {
TOGGLE: 'show'
}
},
show: {
on: {
TOGGLE: 'hide',
}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment