@nodeblocks/frontend-error-block
v0.2.3
Published
1. **Install** 📦:
Downloads
340
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'} /> )} </> ); };
