import { useEffect, useState } from 'react'; import { StyleSheet } from 'react-native'; import { ThemedText } from '@/components/misc/themed-text'; import { ThemedView } from '@/components/misc/themed-view'; import { ScreenLayout } from '@/components/ui/ScreenLayout'; import { useAuth } from '@/context/AuthContext'; import { Grid, Col, Row, Between } from '@/components/ui/LayoutHelpers'; import { Card } from '@/components/ui/Cards'; import { Button } from '@/components/ui/Button'; import { Section, SectionHeader } from '@/components/ui/Sections'; import { MoodSelector } from '@/components/ui/EmojiSelectors'; import { Typography, Spacing, Shadows } from '@/constants/theme'; import { useThemeColor } from '@/hooks/use-theme-color'; export default function New() { const { user } = useAuth(); const [mood, setMood] = useState('bem'); const [isLoading, setIsLoading] = useState(false); const moodOptions = [ { id: 'sad', icon: '😢', label: 'Triste' }, { id: 'neutral', icon: '😐', label: 'Neutro' }, { id: 'good', icon: '😊', label: 'Bem' }, { id: 'great', icon: '🤩', label: 'Ótimo' }, { id: 'angry', icon: '😠', label: 'Irritado' }, ]; const initQuickRegister = () => { console.log("Register: ", mood); }; return ( console.log('Notifications')} showNotificationBadge={true}>
Registro rápido HOJE
{/* TODO: Check whether we gonna have to generate these on demand */}
) } const styles = StyleSheet.create({ quickRegisterHeader: { marginTop: 16, paddingLeft: 16, paddingRight: 16 }, quickRegisterTitle: { ...Typography.bodyLg }, // TODO: Replace when we have badges quickRegisterBadge: { fontSize: 12, lineHeight: 16 }, quickRegisterButton: { marginLeft: 16, marginRight: 16, marginBottom: 16, ...Shadows.lg } });