eletrotupi / tcc/ frontend/app/(tabs)/new/entry.tsx87c2c7279a81f897d50a9cef8c07aaf8fca0cc0c
1.1 KB | 40 lines Raw
1
import { useState, useEffect } from 'react';
2
import {
3
  Link, router, useLocalSearchParams
4
} from 'expo-router';
5

6
import {
7
  View,
8
  Text,
9
  StyleSheet
10
} from 'react-native';
11

12
import { SafeAreaView } from 'react-native-safe-area-context';
13
import { ThemedText } from '@/components/misc/themed-text';
14
import { ThemedView } from '@/components/misc/themed-view';
15
import { ScreenLayout } from '@/components/ui/ScreenLayout';
16
import { useAuth } from '@/context/AuthContext';
17
import { Grid, Col, Row, Between } from '@/components/ui/LayoutHelpers';
18
import { Card } from '@/components/ui/Cards';
19
import { Button } from '@/components/ui/Button';
20
import { Section, SectionHeader } from '@/components/ui/Sections';
21

22
export default function NewMoodEntry() {
23
  const { user } = useAuth();
24
  // TODO: transform this into a specific mood component
25
  const { initialMood } = useLocalSearchParams();
26

27
  return (
28
    <SafeAreaView style={styles.container}>
29
      <ThemedText>
30
        Little black sub {initialMood}
31
      </ThemedText>
32
    </SafeAreaView>
33
  );
34
}
35

36
const styles = StyleSheet.create({
37
  container: {
38
    backgroundColor: 'pink'
39
  }
40
});