/ImageBox

ImageBox

Primary LanguageJavaScript

ImageBox

ImageBox is a custom slider made using React Class Based App

Install

  1. Clone this project from Github Repository
  2. Navigate to the project directory and run the following command

npm install

Start

To start the development server, use the following command

npm start

Components

App consists of mainly 2 components

  1. Button -> Accepts icon and sliding function as prop
  2. Picture -> Accepts image index as image is fetched from random images.

Below code is used to generate the random images.

https://picsum.photos/500/300?random=${index}

Author

Project was created by Sandeep Rana