tooot/src/screens/Actions.tsx

23 lines
526 B
TypeScript
Raw Normal View History

2021-01-30 01:29:15 +01:00
import { StackScreenProps } from '@react-navigation/stack'
2021-02-10 00:40:44 +01:00
import React from 'react'
import { SafeAreaProvider } from 'react-native-safe-area-context'
import ScreenActionsRoot from './Actions/Root'
2021-01-30 01:29:15 +01:00
export type ScreenAccountProp = StackScreenProps<
Nav.RootStackParamList,
'Screen-Actions'
>
const ScreenActions = React.memo(
2021-02-10 00:40:44 +01:00
(props: ScreenAccountProp) => {
2021-01-30 01:29:15 +01:00
return (
2021-02-10 00:40:44 +01:00
<SafeAreaProvider>
<ScreenActionsRoot {...props} />
</SafeAreaProvider>
2021-01-30 01:29:15 +01:00
)
},
() => true
)
export default ScreenActions