Skip to content

PresenceProps beta ​

Interface of @v12-engine/client/kit

ts
export interface PresenceProps extends Omit<ArkPresenceProps, 'present' | 'onExitComplete'>

What a Presence is given: whether it is there, how it moves, and what to do when it has gone

Members ​

motion ​

ts
motion?: 'fade' | 'slide';

How it comes and goes: faded from a little below (fade, when left out), or sliding (slide)

onExitComplete ​

ts
onExitComplete?: () => void;

Its going is over, and it is gone

present ​

ts
present: boolean;

Whether it is there: going, it stays until its going is over