react-amiga-guru-meditation
v3.1.0
Published
A React Error Boundary styled like the Amiga Guru Meditation
Downloads
16
Maintainers
Readme
Overview
This component is designed to render a funny Error Boundary styled like the old Amiga Guru Meditation.
New in v2.0.x
- Use Typescript
- Use React Hooks
- New Documentation and Intercative Playground
Installation
You can use either npm
npm i react-amiga-guru-meditation
or yarn
yarn add react-amiga-guru-meditation
Basic Usage
First of all, remember to import the component.
import React from "react"
import {AmigaErrorBoundary} from "react-amiga-guru-meditation"
function Application() {
return (
<AmigaErrorBoundary>
<h1>Protected code</h1>
</AmigaErrorBoundary>
);
}
Documentation
See the complete documentation and intercative playground
Contributing
Thanks for any your contribute 👏.
Bugs 🐛
Use the GitHub issues.
License
MIT Licensed. Copyright (c) Giovambattista Fazioli 2019.