Remove all native base dependencies.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { Card, CardItem, H3, Text } from "native-base";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { FlatList, RefreshControl } from "react-native";
|
||||
import { FlatList, RefreshControl, Text } from "react-native";
|
||||
import JobNotesItem from "../job-notes-item/job-notes-item.component";
|
||||
|
||||
import { Card } from "react-native-paper";
|
||||
export default function JobNotes({ job, loading, refetch }) {
|
||||
const { t } = useTranslation();
|
||||
if (!job) {
|
||||
@@ -18,9 +17,9 @@ export default function JobNotes({ job, loading, refetch }) {
|
||||
if (job.notes.length === 0)
|
||||
return (
|
||||
<Card>
|
||||
<CardItem>
|
||||
<H3>{t("jobdetail.labels.nojobnotes")}</H3>
|
||||
</CardItem>
|
||||
<Card.Content>
|
||||
<Text>{t("jobdetail.labels.nojobnotes")}</Text>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user