This commit is contained in:
Philip Cesar Garay
2025-09-09 17:17:11 +08:00
parent a3dc4f89b7
commit 69977aba2b
5 changed files with 84 additions and 17 deletions
+17 -2
View File
@@ -1,4 +1,12 @@
import { View, Text, FlatList, StyleSheet, Pressable } from "react-native";
import {
View,
Text,
FlatList,
StyleSheet,
Pressable,
KeyboardAvoidingView,
Platform,
} from "react-native";
import React, { useState } from "react";
import CreateLyricsHeader from "./components/CreateLyricsHeader";
import { Palette, Style } from "../../styles";
@@ -6,8 +14,15 @@ import { GOALS } from "../../data/data";
import { FONT_FAMILY } from "../../styles/Fonts";
import CustomInput from "./components/CustomInput";
import ItemContainer from "../../components/ItemContainer/ItemContainer";
import { useKeyboard } from "@react-native-community/hooks";
import { responsiveHeight } from "react-native-responsive-dimensions";
const Goals = ({ selected: selectedProp, setSelected: setSelectedProp, otherObjective, setOtherObjective }) => {
const Goals = ({
selected: selectedProp,
setSelected: setSelectedProp,
otherObjective,
setOtherObjective,
}) => {
const [internalSelected, setInternalSelected] = useState(null);
const selected = selectedProp ?? internalSelected;