ScreenTransitionProps beta
Interface of @v12-engine/client/kit
ts
export interface ScreenTransitionProps<K>What a ScreenTransition is given: the screen shown, how it moves, and how to draw a screen of a key
Members
children
ts
children: (screen: K) => JSX.Element;The screen of a key
class
ts
class?: string;For the box both are in, one over the other while one goes
motion
ts
motion?: 'slide' | 'fade' | 'cut';How: sliding over (slide, when left out), faded (fade), or at once (cut)
screen
ts
screen: K;The screen shown, by a key of the caller's: another key, and the one before goes as this one comes