Remove all native base dependencies.

This commit is contained in:
Patrick Fic
2021-03-11 11:53:42 -07:00
parent 373f215ffa
commit 59f6605a40
19 changed files with 34349 additions and 7016 deletions

View File

@@ -1,7 +1,7 @@
import { Thumbnail } from "native-base";
import React, { useState } from "react";
import {
FlatList,
Image,
RefreshControl,
StyleSheet,
Text,
@@ -33,15 +33,15 @@ export default function JobDocumentsComponent({ job, loading, refetch }) {
renderItem={(object) => (
<TouchableOpacity
onPress={() => {
// setImgIndex(object.index);
// setPreviewVisible(true);
setImgIndex(object.index);
setPreviewVisible(true);
}}
>
<Thumbnail
square
large
<Image
style={{ margin: 5 }}
source={{
width: 100,
height: 100,
uri: `${REACT_APP_CLOUDINARY_IMAGE_ENDPOINT}/${REACT_APP_CLOUDINARY_THUMB_TRANSFORMATIONS}/${object.item.key}`,
}}
/>