Skip to content

Own beta ​

Interface of @v12-engine/client

ts
export interface Own<Props>

A piece of the game's own: a component in the place of the client's, or an element it draws into (mount), which wins when both are said. Both are given the same: what the piece is about

Members ​

component ​

ts
component?: (props: Props) => JSX.Element;

A component in its place: given what the client's own is given, so that it can wrap it or stand for it

mount ​

ts
mount?: OwnMount<Props>;

Draws it into an element of its own: any HTML, any framework