@questlabs/react-native-sdk
Version:
Quest react native sdk
28 lines (24 loc) • 791 B
text/typescript
import { TextStyle, ViewStyle } from "react-native/types";
export type props = {
// googleClientId?: string;
// googleRedirectUri?: string;
loginSuccessRedirectUrl?: string;
styles?: styles;
onSuccess?: ({ userId, token }: { userId: string; token: string }) => void;
};
export type styles = {
mainViewStyle?: ViewStyle;
headerTextStyle?: TextStyle;
headerTextStyle2?: TextStyle;
continueBtnViewStyle?: ViewStyle;
continueBtnTextStyle?: TextStyle;
googleViewStyle?: ViewStyle;
googleTextStyle?: TextStyle;
headerTextStyle3?: TextStyle;
otpTextStyle?: TextStyle;
otpContViewStyle?: ViewStyle;
otpInputTextStyle?: TextStyle;
verifyBtnViewStyle?: ViewStyle;
verifyBtnTextStyle?: TextStyle;
};
export type Nullable<T> = T | null;