frontend: use text area instead of input for the new mood entry

Pedro Lucas Porcellis porcellis@eletrotupi.com 1 month ago c49da6aaf11d18081de98784bdfc1ece1bf763de
Parents: 75d4838
1 file(s) changed
  • frontend/app/(tabs)/new/entry.tsx +5 -2
frontend/app/(tabs)/new/entry.tsx
@@ -18,7 +18,7 @@ import { useAuth } from '@/context/AuthContext';
18 18 import { Grid, Col, Row, Between, Center } from '@/components/ui/LayoutHelpers';
19 19 import { Card } from '@/components/ui/Cards';
20 20 import { Button } from '@/components/ui/Button';
21 - import { Input } from '@/components/ui/Input';
21 + import { Input, TextArea } from '@/components/ui/Input';
22 22 import { Section, SectionHeader } from '@/components/ui/Sections';
23 23 import { Spacing, Typography, Colors } from '@/constants/theme';
24 24
@@ -46,10 +46,13 @@ <Card style={styles.resumeCard}>
46 46 </Card>
47 47
48 48 <Card style={styles.annotationsCard}>
49 - <Input
49 + <TextArea
50 50 label="Notas sobre o dia"
51 51 type="text"
52 + variant="darkGhost"
52 53 onChangeText={(val) => console.log(val)}
54 + minRows={4}
55 + maxRows={6}
53 56 placeholder="Escreva uma nota rĂ¡pida sobre o seu dia..."
54 57 />
55 58 </Card>