Skip to content

Commit

Permalink
Add xstateful-react import to initial example (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShMcK authored and avaragado committed Jul 18, 2018
1 parent d5ed243 commit 2534c76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Use one module to export an `XStateful` instance and the React components genera

import { Machine } from 'xstate';
import { createStatefulMachine } from '@avaragado/xstateful';
import { createReactMachine } from '@avaragado/xstateful-react';

const machine = Machine({
// xstate machine configuration
Expand Down

0 comments on commit 2534c76

Please sign in to comment.