import { SymbolView } from "expo-symbols"; import type { ComponentProps } from "react"; import { Switch, View } from "react-native"; import { AppText as Text } from "../../../components/AppText"; import { useThemeColor } from "../../../lib/useThemeColor"; type SymbolName = ComponentProps["name"]; export function SettingsSwitchRow(props: { readonly disabled?: boolean; readonly icon: SymbolName; readonly label: string; readonly value: boolean; readonly onValueChange: (value: boolean) => void; }) { const icon = useThemeColor("--color-icon"); const activeTrack = String(useThemeColor("--color-switch-active")); const track = String(useThemeColor("--color-secondary-border")); return ( {props.label} ); }