项目作者: jakeholtz

项目描述 :
Integrative UI Modal - Built with ReactJS & LESS
高级语言: JavaScript
项目地址: git://github.com/jakeholtz/reactive-device-modal.git
创建时间: 2019-05-08T00:42:27Z
项目社区:https://github.com/jakeholtz/reactive-device-modal

开源协议:

下载


reactive-device-modal

Integrative UI Modal - Built with ReactJS and LESS, no boilerplates or other JS / CSS frameworks

Directory Overview

  1. reactive-device-modal/ <- ROOT
  2. src/
  3. |- index.html _____________________________ # HTML Entry point
  4. |- index.js _______________________________ # JS Entry Point
  5. |- App/ ___________________________________ # Application
  6. | |- App.jsx _____________________________ # Main Application File
  7. | |- Components/
  8. | |- DeviceModal.jsx ___________________ # Unique Modal Component
  9. | |- Dropdown.jsx ______________________ # Dropdown Component (Reuseable)
  10. | |- Input.jsx _________________________ # Text Input Component (Reuseable)
  11. | |- Radio.jsx _________________________ # Radio Input Component (Reuseable)
  12. | |- SubmissionOptions.jsx _____________ # Modal Submission Buttons Component (Reuseable)
  13. | |- TextSection.jsx ___________________ # Text Section / Paragraph Component (Reuseable)
  14. NOTE: All components except DeviceModal.jsx and App.jsx are meant to be reuseable.

Setup Instructions

1) Download / clone repository
2) Make sure all dependencies are installed correcty -> Run npm install in the root folder
3) To run application, run npm run build && npm run start
4) Application will run in browser. Use Google Chrome for optimal performance.

Testing Instructions

1) Make sure you’ve gone through the setup instructions
2) Run npm run test in the root directory. This will run Jest / Enzyme unit tests

Screenshot

image

Author

Built by Jake Holtz - 5/7/2019 & 5/8/2019