Skip to content

Latest commit

 

History

History
116 lines (81 loc) · 3.75 KB

README.md

File metadata and controls

116 lines (81 loc) · 3.75 KB

In this project, let's build an Alert Notifications app by applying the concepts we have learned till now.

Refer to the image below:


Alert Notifications

Design Files

Click to view

Set Up Instructions

Click to view
  • Download dependencies by running npm install
  • Start up the app using npm start

Completion Instructions

Functionality to be added

The app must have the following functionalities

  • For each notification, the Notification component should receive the below elements as children
    • Icon
    • Heading
    • Description
Components Structure
Alert-Notificaions-app-component-breakdown-structure

Implementation Files

Use these files to complete the implementation:

  • src/components/Notification/index.js
  • src/components/Notification/index.css
  • src/components/AlertNotifications/index.js
  • src/components/AlertNotifications/index.css

Important Note

Click to view

The following instructions are required for the tests to pass

  • Access the elements passed to the Notification Component using the children prop.
  • AiFillCheckCircle from react-icons should be used for Success notification.
  • RiErrorWarningFill from react-icons should be used for Error notification.
  • MdWarning from react-icons should be used for Warning notification.
  • MdInfo from react-icons should be used for Info notification.
  • GrFormClose from react-icons should be used as Close icon in each notification.

Resources

Colors
Hex: #64748b
Hex: #2dca73
Hex: #ff0b37
Hex: #ffb800
Hex: #0f81e0
Hex: #e5e5e5
Hex: #0f172a
Hex: #475569
Font-families
  • Roboto

Things to Keep in Mind

  • All components you implement should go in the src/components directory.
  • Don't change the component folder names as those are the files being imported into the tests.
  • Do not remove the pre-filled code
  • Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.