UNPKG

@questlabs/react-native-sdk

Version:
35 lines (28 loc) 608 B
import { ReactNode } from "react"; export interface IContext { apiKey: string; entityId: string; user?: IUser; authenticationToken?:string; setUser: ({ userId, token }: IUser) => void; fontFamily?:fontFamily; } export interface props { children: ReactNode; apiKey: string; authenticationToken?:string; entityId: string; fontFamily?:fontFamily; } export interface IUser { userId: string; token: string; } export interface IGlobalState { user?: IUser; } export interface fontFamily{ regular?:string; semibold?:string; italic?:string; }