/react-modal

Simple react modal

Primary LanguageJavaScript

react-modal

Simple react modal

Step

  1. To install npm install
  2. To run npm run start-example
  3. To run with example, go to http://localhost:1234/

Todo

  1. Test, with complex components
  2. All input elements focusable
  3. focus back to open button
  4. configurable styles
  5. compound components
  6. naming conventions
  7. old school code => latest react code
  8. keep a collection/definition through which you can select different types of elements to be focused or not.
  9. passing size of modal
  10. configurable styling
  11. give more user-control, no absoluting
  12. spell checks and good docs..
  13. handling keypress and keycodes
  14. include helpers
  15. Use id for modal parent to select the elements