@questlabs/react-native-sdk
Version:
Quest react native sdk
47 lines (42 loc) • 1.13 kB
text/typescript
import { ViewStyle, TextStyle } from "react-native";
export interface Props {
header?: string;
descrption?: string;
referralLink: string;
referralCode: string;
primaryHeading?: string;
primaryDescription?: string;
shareButtonText?: string;
// style?: Istyle;
loading?: boolean;
styleConfig?: styleConfig;
showRefferalLogo?: boolean;
}
export interface styleConfig {
Form?: ViewStyle;
Heading?: TextStyle;
Description?: TextStyle;
Input?: ViewStyle;
Label?: TextStyle;
// TextArea?: ViewStyle;
PrimaryButton?: ViewStyle;
// SecondaryButton?: ViewStyle;
Modal?: ViewStyle;
Footer?: {
FooterStyle?: ViewStyle;
FooterText?: TextStyle;
FooterIcon?: TextStyle;
};
}
// export interface Istyle {?
// mainViewStyle?: ViewStyle;
// headerTextStyle?: TextStyle;
// descriptionTextStyle?: TextStyle;
// codeViewStyle?: ViewStyle;
// codeTextStyle?: TextStyle;
// inviteButtonViewStyle?: ViewStyle;
// buttonTextStyle?: TextStyle;
// headingText?: TextStyle;
// detailText?: TextStyle;
// middalView?: ViewStyle;
// }