🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@berlitz/error-boundary

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@berlitz/error-boundary

ErrorBoundary component for the Max Design System

latest
npmnpm
Version
2.2.3
Version published
Maintainers
1
Created
Source

ErrorBoundary npm version

Catches uncaught errors in any child component and renders a nice warning message.

Installation

yarn add @berlitz/error-boundary

Props

ArgumentTypeRequiredDefaultExample
titleStringNo
summaryStringNo
buttonLabelStringNo

Usage

import ErrorBoundary from '@berlitz/error-boundary'

const MyApp = () => (
  <ErrorBoundary>
    <MyComponentThatThrowsErrors summary="Call our customer service team on 1800 123 123" />
  </ErrorBoundary>
)

FAQs

Package last updated on 03 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts