From a40b5c1842cea9c15aa63b3e1a23ba56ef3f6eea Mon Sep 17 00:00:00 2001 From: harukin-expo-dev-env Date: Sun, 10 Mar 2024 15:05:28 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=83=9C=E3=82=BF=E3=83=B3?= =?UTF-8?q?=E3=82=92=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/settings.js | 155 +++++++++++++---------------------------- 1 file changed, 49 insertions(+), 106 deletions(-) diff --git a/components/settings.js b/components/settings.js index 6061d5d..17ea209 100644 --- a/components/settings.js +++ b/components/settings.js @@ -58,112 +58,36 @@ export default function Setting(props) { - - - 列車アイコンを表示する - - - - - - - マップを表示する(beta) - - - - - - - 駅メニューを表示 - - - - - - - 時刻表PDFをアプリ外で表示 - - - - - - - 列車メニュー - - - - - - - →列車現在位置表示(alpha) - - - - + + + + + + ( onValueChange={(value) => setBool(value.toString())} /> ); +const SwitchArea = ({ str, bool, setBool }) => { + return ( + + + {str} + + + + + ); +};