@nodeblocks/frontend-error-block
v0.1.6
Published
### 🛠️ How to Use
Keywords
Readme
🚀 Nodeblocks Frontend Error Block
🛠️ How to Use
Install 📦:
npm install @nodeblocks/frontend-error-blockUse 🛠️:
import { ErrorBlock } from '@nodeblocks/frontend-error-block'; const DemoAppTemplate = ({ state }) => { return ( <> {state.hasError && ( <ErrorBlock href={'/'} buttonText={'Back to Home'} subtitle={'Error Block Subtitle'} title={'Error Block Title'} /> )} </> ); };
