包括 子组件input、switch、alert、line、link、group 包括 实现 SettingStore 状态管理 (MobX) 支持持久化 包括 类型相关内容声明
20 lines
425 B
TypeScript
20 lines
425 B
TypeScript
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 />
|
|
</>
|
|
)
|
|
}
|