Skip to content

OwnPiece beta ​

Function of @v12-engine/client/kit

ts
export declare function OwnPiece<Props extends object>(props: JSX.HTMLAttributes<HTMLDivElement> & {
    own: Own<Props>;
    given: Props;
}): JSX.Element;

A piece as the game has it (Own): its element (mount, which wins), else its component, given what the piece is about. class and the rest are for the element of a mount. Nothing where the game said neither