UNPKG

@questlabs/react-native-sdk

Version:
42 lines (37 loc) 1.01 kB
import { TextStyle, ViewStyle } from "react-native"; export interface Props { actions: ICriteria[]; loading?: boolean; title?: string; header?: string; template?: "basic" | "detail"; style?: Istyle; } export interface ICriteria { actionId: string; title: string; metricCount: string; completed: boolean; isLocked: boolean; progressPercent: number; progressData: number; } export interface Istyle { mainModalContainer?: ViewStyle; mainViewStyle?: ViewStyle; headerTextStyle?: TextStyle; iconBackgroundView?: ViewStyle; questionBackgroundViewStyle?: ViewStyle; questionHeaderTextStyle?: TextStyle; footerViewStyle?: ViewStyle; footerTextStyle?: TextStyle; progressBarTextStyle?: TextStyle; progressBar?: ViewStyle; progressBarInnerStyle?: ViewStyle; searchInput?: ViewStyle; listItemView?: ViewStyle; listItemTitle?: TextStyle; listItemDescription?: TextStyle; imageView?: ViewStyle; itemTitle?: TextStyle; }