import React from 'react'; import { StyleSheet } from 'react-native'; import { Layout, Toggle } from '@ui-kitten/components'; import { Setting } from './extra/settings-section.component'; export default (): React.ReactElement => { const [soundEnabled, setSoundEnabled] = React.useState(false); const toggleSound = (): void => { setSoundEnabled(!soundEnabled); }; return ( ); }; const styles = StyleSheet.create({ container: { flex: 1, }, setting: { padding: 16, }, section: { paddingTop: 32, }, });