Skip to content

Instantly share code, notes, and snippets.

@Jpadilla1
Last active September 3, 2019 18:23
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 Jpadilla1/bbf5babc1fcdb53e7df6d9f4fae6a34d to your computer and use it in GitHub Desktop.
Save Jpadilla1/bbf5babc1fcdb53e7df6d9f4fae6a34d to your computer and use it in GitHub Desktop.
Feedback component
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