@questlabs/react-native-sdk
Version:
Quest react native sdk
34 lines (32 loc) • 821 B
text/typescript
import { TextStyle, ViewStyle } from "react-native";
export type Props = {
claimRewardHandler?: (email?: string) => void;
onClose?: () => void;
styleConfig?: styleConfig;
expiryDate?: string | Date;
showFooter?: boolean;
heading?: String;
description?: String;
shareButtonText?: String;
primaryHeading?: String;
primaryDescription?: String;
isEmail?: boolean;
};
export interface styleConfig {
BackgroundWrapper?: ViewStyle;
Description?: TextStyle;
Footer?: {
FooterStyle?: ViewStyle;
FooterText?: TextStyle;
FooterIcon?: TextStyle;
};
Form?: ViewStyle;
Heading?: TextStyle;
PrimaryButton?: ViewStyle;
SecondaryButton?: ViewStyle;
Timer?: {
backgroundColor?: string;
primaryColor?: string;
secondaryColor?: string;
};
}