const r = "https://nice2dev.com/schemas/component-doc-v1.json", e = "NiceErrorBoundary", o = "Error boundary component for catching React errors.", t = "feedback", n = "1.0.0", c = "stable", a = [{ name: "children", type: "React.ReactNode", required: !0, description: "Child components" }, { name: "fallback", type: "React.ReactNode | ((error: Error, reset: () => void) => React.ReactNode)", description: "Fallback UI" }, { name: "onError", type: "(error: Error, errorInfo: ErrorInfo) => void", description: "Error callback" }, { name: "onReset", type: "() => void", description: "Reset callback" }, { name: "resetKeys", type: "any[]", description: "Keys that trigger reset" }, { name: "showDetails", type: "boolean", default: "false", description: "Show error details" }], s = [{ title: "Error Boundary", description: "Catch errors", code: `<NiceErrorBoundary
  fallback={(error, reset) => (
    <div>
      <h2>Something went wrong</h2>
      <button onClick={reset}>Try again</button>
    </div>
  )}
  onError={logError}
>
  <MyComponent />
</NiceErrorBoundary>` }], i = { keyboard: ["Tab to reset action"], aria: ["Error region", "Error description"] }, d = ["NiceResult", "NiceEmptyState"], l = {
  $schema: r,
  name: e,
  description: o,
  category: t,
  since: n,
  status: c,
  props: a,
  examples: s,
  accessibility: i,
  seeAlso: d
};
export {
  r as $schema,
  i as accessibility,
  t as category,
  l as default,
  o as description,
  s as examples,
  e as name,
  a as props,
  d as seeAlso,
  n as since,
  c as status
};
