25 lines
1013 B
TypeScript
25 lines
1013 B
TypeScript
import React, { useState } from 'react';
|
|
import { StyleSheet, ScrollView, View } from 'react-native';
|
|
import { Button, Text, TextInput, useTheme, Appbar, IconButton } from 'react-native-paper';
|
|
import { ThemedView } from '@/components/ThemedView';
|
|
import { ThemedText } from '@/components/ThemedText';
|
|
import { useRouter } from 'expo-router';
|
|
import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
import { StatusBar } from 'expo-status-bar';
|
|
import Wrapper from '@/components/ui/Wrapper';
|
|
|
|
export default function NewEntryScreen() {
|
|
const navigation = useRouter();
|
|
return (
|
|
<Wrapper>
|
|
<Appbar.Header>
|
|
<Appbar.BackAction onPress={() => {
|
|
navigation.back();
|
|
}} />
|
|
<Appbar.Content title="Title" />
|
|
<Appbar.Action icon="calendar" onPress={() => { }} />
|
|
<Appbar.Action icon="magnify" onPress={() => { }} />
|
|
</Appbar.Header>
|
|
</Wrapper>
|
|
);
|
|
} |