"use client"; import { ColorScheme, lightColors } from "@/constants"; import { BottomTabBarButtonProps } from "@react-navigation/bottom-tabs"; import { StyleSheet, TextInput, TouchableOpacity, View, Text, } from "react-native"; import PrimaryButton from "../PrimaryButton"; import { useState } from "react"; export function ShipForm() { const colors = lightColors; const styles = getStyles(colors); const [patp, setPatp] = useState("~mirtyl-wacdec"); const [ticket, setTicket] = useState("~posseg-winnub-fogluc-dirmes"); const [isLoading, setIsLoading] = useState(false); async function onSubmit() { console.log({ patp, ticket }); } return ( No Urbit ID? Get yours. ); } export const getStyles = (colors: ColorScheme) => StyleSheet.create({ container: { flex: 1, backgroundColor: colors.background, justifyContent: "space-between", padding: 20, }, topSection: { flex: 1, justifyContent: "center", alignItems: "center", }, walletIcon: { width: 64, height: 64, marginBottom: 12, }, logoText: { fontSize: 18, color: colors.text, fontWeight: "400", }, bottomSection: { gap: 8, marginBottom: 40, }, input: { height: 48, backgroundColor: colors.card, borderColor: colors.border, borderWidth: 1, borderRadius: 8, paddingHorizontal: 16, paddingVertical: 12, color: colors.text, fontWeight: "500", fontSize: 16, }, footer: { marginTop: 50, alignItems: "center", }, footerText: { color: colors.text, fontSize: 16, }, });