@launchmenu/core
Version:
An environment for visual keyboard controlled applets
11 lines • 588 B
TypeScript
import { ReactNode } from "react";
import { IUILayerContentData } from "../../../uiLayers/_types/IUILayerContentData";
import { IIOContext } from "../../../context/_types/IIOContext";
/**
* Returns ui layer content data that handles errors and their animations in an appropriate way
* @param error The error to be displayed
* @param context The context for key inputs
* @returns The item to be added to the view stack
*/
export declare function createContentError(error: ReactNode, context: IIOContext): IUILayerContentData;
//# sourceMappingURL=createContentError.d.ts.map