UNPKG

drizzle-cube

Version:

Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.

22 lines (21 loc) 715 B
import { default as React, Component, ReactNode } from 'react'; interface Props { children: ReactNode; fallback?: ReactNode; portletTitle?: string; portletConfig?: any; cubeQuery?: string; } interface State { hasError: boolean; error: Error | null; errorInfo: string | null; } export default class ChartErrorBoundary extends Component<Props, State> { constructor(props: Props); static getDerivedStateFromError(error: Error): State; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; handleReset: () => void; render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined; } export {};