@getdashfy/ui 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -315,22 +315,28 @@ interface ErrorBoundaryProps {
315
315
  * Wraps react-error-boundary with Dashfy-specific defaults.
316
316
  *
317
317
  * @example
318
+ * ```tsx
318
319
  * // Basic usage
319
320
  * <WidgetErrorBoundary>
320
321
  * <MyWidget />
321
322
  * </WidgetErrorBoundary>
323
+ * ```
322
324
  *
323
325
  * @example
326
+ * ```tsx
324
327
  * // With custom fallback
325
328
  * <WidgetErrorBoundary fallback={<div>Custom error</div>}>
326
329
  * <MyWidget />
327
330
  * </WidgetErrorBoundary>
331
+ * ```
328
332
  *
329
333
  * @example
334
+ * ```tsx
330
335
  * // With error logging
331
336
  * <WidgetErrorBoundary onError={(error) => logToSentry(error)}>
332
337
  * <MyWidget />
333
338
  * </WidgetErrorBoundary>
339
+ * ```
334
340
  */
335
341
  declare const WidgetErrorBoundary: ({ children, fallback, onError, onReset, resetKeys, }: ErrorBoundaryProps) => React$1.JSX.Element;
336
342
 
package/dist/index.d.ts CHANGED
@@ -315,22 +315,28 @@ interface ErrorBoundaryProps {
315
315
  * Wraps react-error-boundary with Dashfy-specific defaults.
316
316
  *
317
317
  * @example
318
+ * ```tsx
318
319
  * // Basic usage
319
320
  * <WidgetErrorBoundary>
320
321
  * <MyWidget />
321
322
  * </WidgetErrorBoundary>
323
+ * ```
322
324
  *
323
325
  * @example
326
+ * ```tsx
324
327
  * // With custom fallback
325
328
  * <WidgetErrorBoundary fallback={<div>Custom error</div>}>
326
329
  * <MyWidget />
327
330
  * </WidgetErrorBoundary>
331
+ * ```
328
332
  *
329
333
  * @example
334
+ * ```tsx
330
335
  * // With error logging
331
336
  * <WidgetErrorBoundary onError={(error) => logToSentry(error)}>
332
337
  * <MyWidget />
333
338
  * </WidgetErrorBoundary>
339
+ * ```
334
340
  */
335
341
  declare const WidgetErrorBoundary: ({ children, fallback, onError, onReset, resetKeys, }: ErrorBoundaryProps) => React$1.JSX.Element;
336
342