Name optional component error notifications extraErrorAction

This commit is contained in:
Timothy J. Aveni
2026-09-15 17:27:38 -07:00
parent 8f28ab1b93
commit 1afc9feb94
+3 -2
View File
@@ -28,7 +28,8 @@ declare module "@quixos/web-studio-react-runtime" {
fallback?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
onError?: (error: Error) => void;
/** Optional extra action. The host still displays and reports errors by default. */
extraErrorAction?: (error: Error) => void;
};
export type ReactComponentImplementationProps<CaminoProps, RenderProps, Action> = {
camino: CaminoProps;
@@ -45,7 +46,7 @@ declare module "@quixos/web-studio-react-runtime" {
interfaceRevisionId: string,
operationId: string,
value?: unknown,
options?: {clientMutationId?: string},
options?: {clientMutationId?: string; signal?: AbortSignal},
) => Promise<Result>;
export const h: typeof React.createElement;
export const useLiveField: <T>(