ECellNitrr / teesco-website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reusable error component

pratik0204 opened this issue · comments

Is your feature request related to a problem? Please describe.
Make an error component, displayed if any api calls throws an error.
Screenshot from 2020-06-02 21-46-42

Describe the solution you'd like

components/Widgets/Error/Error.js

A functional component which takes width as prop, to make it fit in every container component.

components/Widgets/Error/Error.stories.js

Just an initial state, with error.

I will like to work on this issue

@Nikhil-dev13 you are assigned with this issue.