You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
675 B

2 weeks ago
import { Text } from "@/components/ui/text";
import { VStack } from "@/components/ui/vstack";
import { useTodos } from "@/store/useTodos";
import { useState } from "react";
2 weeks ago
import { SafeAreaView } from "react-native-safe-area-context";
export default function ActiveTab() {
2 weeks ago
const { activeTodos, leftCount, add, toggle, completeAll } = useTodos();
const [title, setTitle] = useState("");
const onAdd = () => {
add(title);
setTitle("");
};
return (
<SafeAreaView className="flex-1">
<VStack className="flex-1 p-4 gap-3">
<Text className="text-2xl font-bold"></Text>
</VStack>
</SafeAreaView>
);
2 weeks ago
}