Skip to content

CutUiContent beta ​

TypeAlias of @v12-engine/client

ts
export type CutUiContent = HTMLElement | {
    component: (props: CutUiProps) => JSX.Element;
} | {
    mount: (element: HTMLElement, props: CutUiProps) => (() => void) | void;
};

What puts up a cinematic's interface: an element of the game's, a component (given CutUiProps), or a function that draws into an element it is given and gives back what takes it apart