import React from 'react'; import { StyleSheet } from 'react-native'; import { Switch } from 'react-native-paper'; import { theme } from '../App'; import SettingsItem from './SettingsItem'; type Props = { label: string; onValueChange: (value: boolean) => void; value: boolean; testID?: string; }; const SettingsSwitchItem = ({ label, onValueChange, value, testID }: Props) => ( ); const styles = StyleSheet.create({ item: { width: '50%', }, }); export default SettingsSwitchItem;