Assignment V The USA (Universal Style Assocation) needs your help! They feel like they are missing out (fomo..) because of all the new styling libraries such as MaterialUI and ReactBootstrap. They want to create a new styling library called InfinityModule
npm install infinitymodules_snakarnirAssignment V
The USA (Universal Style Assocation) needs your help! They feel like they are missing out (fomo..)
because of all the new styling libraries such as MaterialUI and ReactBootstrap. They want to
create a new styling library called InfinityModules. This module should work similarly as
MaterialUI or ReactBootstrap. Every styles should be implemented using CSS Modules. If the
component must use provided props for styling, the style props can be used. Let’s take a look at
what it should implement:
1. (10%) - Create a component called Modal which should be a floating dialog. This
component should receive as props:
I. isOpen - default false
II. onClose : func
(3) The modal should contain a title which should be rendered as the following:
(4) The modal should contain a body which should be rendered as the following:
(5) The modal should contain an optional footer which should be rendered as the
following:
2. (10%) - Create a component called ProgressBar which should display a progress bar.
This component should receive as props:
I. progress (0 - 100)
II. striped (true/false) - default false
III. animated (true/false) - default false
IV. state (info/success/warning/danger)
3. (10%) - Create a component called NameCard which should display a name card for a
person. This component should receive as props:
I. name
II. email
III. telephone
IV. imageUrl
4. (10%) - Create a component called Carousel which should be a basic image slider
with two arrows (left and right) to navigate between images. This component should
receive as props:
I. images (an array)
II. size (small, medium, large) - default medium
5. (10%) - Create a component called Row which should contain Col (see below) within.
This component should receive as props:
I. children (node)
6. (10%) - Create a component called Col which should reside within a Row (see above)
component. Each row should accept twelve