import React from 'react'; import { View, Text, Switch, StyleSheet } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { AppColors, BorderRadius, FontSizes, Spacing, FontWeights, } from '@/constants/theme'; interface DevModeToggleProps { value: boolean; onValueChange: (value: boolean) => void; label?: string; hint?: string; } export function DevModeToggle({ value, onValueChange, label = 'Developer Mode', hint = 'Show WebView dashboard', }: DevModeToggleProps) { return ( {label} {hint} ); } const styles = StyleSheet.create({ container: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', backgroundColor: AppColors.warningLight, borderRadius: BorderRadius.lg, padding: Spacing.md, borderWidth: 1, borderColor: AppColors.warning, }, left: { flexDirection: 'row', alignItems: 'center', gap: Spacing.md, }, label: { fontSize: FontSizes.sm, fontWeight: FontWeights.semibold, color: AppColors.textPrimary, }, hint: { fontSize: FontSizes.xs, color: AppColors.textSecondary, }, });