emoji-picker-react icon indicating copy to clipboard operation
emoji-picker-react copied to clipboard

Add example projects

Open amitdahan opened this issue 3 years ago • 1 comments

Summary

I propose adding some example projects to consume the picker.

For example:

  • examples/with-nextjs
  • examples/with-create-react-app
  • ...

This will serve 3 purposes:

  1. "Documentation" for how to use the picker from common environments
  2. E2E tests for common usage patterns which will increase stability as changes are made to the picker
  3. Provide an alternative for Storybook for locally testing changes

amitdahan avatar Dec 27 '21 18:12 amitdahan

@ealush - Can you please provide an example of using Next.js? Also, how can use it with a simple input tag and show/hide the emoji preview modal by clicking on another emoji icon?

junaidalphasquad avatar Feb 01 '24 11:02 junaidalphasquad