deepakpster / treebo

Treebo Assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Treebo Modals GitHub Logo

Treebo Assignment

The idea is to build a Modal Component which should have:

  • Configurable height and width
  • The close button within the frame to close the modal
  • Modal must have open and close functionality accessible from any component in a React component tree
  • Multiple modals can be opened (Stacked Modal) and are closed LIFO (last in first out)
  • Close functionality closes the latest modal in the stack

Installation

Treebo requires Node.js v4+ to run.

Install the dependencies and devDependencies and start the server.

$ cd treebo/fe
$ npm install

For development environment

$ npm start

You should be able to access the application at http://localhost:8080/

For production environment

$ npm run build

The bundle will be available in treebo/fe/dist folder.

Demo

https://d1n1mk4763yap7.cloudfront.net/

License

MIT

About

Treebo Assignment


Languages

Language:JavaScript 81.4%Language:SCSS 10.5%Language:HTML 8.1%