UNPKG

@questlabs/react-native-sdk

Version:
27 lines (24 loc) 647 B
import { ImageStyle, TextStyle, ViewStyle } from "react-native/types"; export type Props = { data: ItemType[]; mainView?: ViewStyle; innerViewStyle?: ViewStyle; componentViewStyle?: ViewStyle; imageViewStyle?: ViewStyle; imageStyle?: ImageStyle; roundImageStyle?: ImageStyle; headerViewStyle?: ViewStyle; headerTextStyle?: TextStyle; detailViewStyle?: ViewStyle; detailsTextStyle?: TextStyle; dotViewStyle?: ViewStyle; dotStyle?: ViewStyle; }; export type ItemType = { id: number; image: string | any; roundImage?: boolean; title: string; details: string; onPress?: () => void; };