title Type – PresentAPI

type PresentAPI = {
  goTo: (x: number) => void,
  goForward: () => void,
  goBack: () => void,
  isThread: (id: number) => boolean,
  isVisible: (id: number) => boolean,
  getVisibleState: (id: number) => number | null,
  useTransition:
  (
    id: number,
    enter: ParsedEffect,
    exit: ParsedEffect,
    initial?: number,
  ) => number,
}

Source

packages / present / src / providers / present-provider.ts

Sections
Source  
menu
format_list_numbered