feat: 增加了基础的设置相关内容
包括 子组件input、switch、alert、line、link、group 包括 实现 SettingStore 状态管理 (MobX) 支持持久化 包括 类型相关内容声明
This commit is contained in:
19
apps/expo/app/setting/index.tsx
Normal file
19
apps/expo/app/setting/index.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { SettingsScreen } from 'app/features/setting/screen'
|
||||
import { Stack } from 'expo-router'
|
||||
|
||||
export default function Screen() {
|
||||
return (
|
||||
<>
|
||||
<Stack.Screen
|
||||
options={{
|
||||
title: 'Setting',
|
||||
presentation: 'modal',
|
||||
animation: 'slide_from_right',
|
||||
gestureEnabled: true,
|
||||
gestureDirection: 'horizontal',
|
||||
}}
|
||||
/>
|
||||
<SettingsScreen />
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user