Skip to content

Frame beta ​

Function of @v12-engine/client/hud

ts
export declare function Frame(props: {
    kind?: 'panel' | 'tile' | 'tab' | 'bar';
    as?: 'div' | 'section' | 'header' | 'aside' | 'nav';
    class?: string;
    children?: JSX.Element;
} & Omit<JSX.HTMLAttributes<HTMLElement>, 'class' | 'children'>): JSX.Element;

A frame of the HUD (see frame): panel, tile, tab or bar, as an element of the caller's kind (as). A panel has its ornaments on its corners (Corners)