newrelic / nr1-community

An open-source library of useful components for building on New Relic One's programmability platform.
https://developer.newrelic.com
Apache License 2.0
11 stars 12 forks source link

Feat: add generic error component to the project #62

Closed MattIGolden closed 4 years ago

MattIGolden commented 4 years ago

I saw that there’s an open issue (#61) for adding a generic error component to the project and I thought I’d take a swing at it. I hope this is helpful, but at the very least it was good practice. I’m open to any changes or feedback and will keep my eyes peeled for any updates. Here’s gist of the component:

Screen Shot 2020-04-24 at 7 01 26 PM

Here are the props available on the component:

MattIGolden commented 4 years ago

Awesome!! Thanks, @tangollama That's really exciting! I just sent sent an email to the address listed on your github profile (joel@joelworrall.com).