Created
July 20, 2018 03:58
-
-
Save ShMcK/952c09b87551957e42904c792f7a3b24 to your computer and use it in GitHub Desktop.
xstateful-react-setup
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
import { createReactMachine } from '@avaragado/xstateful-react' | |
import alarm from './statefulAlarmMachine' | |
const AlarmMachine = createReactMachine(alarm) | |
export default AlarmMachine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment