UNPKG

react-liff-v2

Version:

A react context provider for LIFF (LINE Front-end Framework)

7 lines (6 loc) 387 B
import { LiffExtendableFunctions } from '@line/liff/dist/lib/init/definition/LiffExtension'; import { LiffCore } from '@line/liff/dist/lib/liff'; import LiffError from '@line/liff/dist/lib/util/LiffError'; declare type Liff = LiffCore & LiffExtendableFunctions; declare type Loginable = Pick<LiffCore, 'isLoggedIn' | 'login' | 'logout'>; export { Liff, LiffCore, LiffError, Loginable };