diff --git a/README.md b/README.md index 51ff2b7..4a3ed2d 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Inside your Wrapped component now you can use the `` component to match ```js ... -import { withMchine, State } from 'mchine'; +import { withMchine, State } from 'react-mchine'; class Component extends React.Component { ... @@ -144,4 +144,4 @@ This will show the `` component only when the current state is ## Note React Mchine use [mchine](https://github.com/HenriqueLimas/mchine) under the hood, if you want to use [xstate](https://github.com/davidkpiano/xstate) instead you could -use [react-automata](https://github.com/MicheleBertoli/react-automata) \ No newline at end of file +use [react-automata](https://github.com/MicheleBertoli/react-automata)