Last active
September 3, 2019 18:23
-
-
Save Jpadilla1/bbf5babc1fcdb53e7df6d9f4fae6a34d to your computer and use it in GitHub Desktop.
Feedback component
This file contains 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 { useMachine } from '@xstate/react'; | |
import feedbackMachine from './feedbackMachine'; | |
const Feedback = () => { | |
const [current, send] = useMachine(feedbackMachine); | |
return ...; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment