UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

16 lines (15 loc) 683 B
export type ComponentErrorStateProps = { componentName?: string; onClick: () => void; }; export declare const ComponentErrorState: ({ componentName, onClick, }: ComponentErrorStateProps) => import("react/jsx-runtime").JSX.Element; export type RunErrorComponentErrorStateProps = { componentName?: string; taskSlug?: string; runID?: string; }; /** * Displayed in the view when task-backed components fail with run errors. */ export declare const RunErrorComponentErrorState: ({ componentName, taskSlug, runID, }: RunErrorComponentErrorStateProps) => import("react/jsx-runtime").JSX.Element; export declare const getRunErrorMessage: (taskSlug?: string) => string;