It is very common when working on react projects to want to display a list of errors. With this component you can accomplish just that.
> npm install errors-render-component
> import React from 'react'
> import RenderErrors from 'errors-render-component'
>
> const errors = ['The password is required', 'The email is required'];
> const Example = () => (
> <RenderErrors errorData={errors} />
>);
> errorData //must be an array of errors
MIT License