add custom algorithm screen to settings under moderation
This commit is contained in:
parent
678f75b495
commit
370d52bd1f
5 changed files with 47 additions and 0 deletions
27
src/view/screens/CustomAlgorithms.tsx
Normal file
27
src/view/screens/CustomAlgorithms.tsx
Normal file
|
@ -0,0 +1,27 @@
|
|||
import {NativeStackScreenProps} from '@react-navigation/native-stack'
|
||||
import {usePalette} from 'lib/hooks/usePalette'
|
||||
import {CommonNavigatorParams} from 'lib/routes/types'
|
||||
import {observer} from 'mobx-react-lite'
|
||||
import React from 'react'
|
||||
import {StyleSheet, View} from 'react-native'
|
||||
import {withAuthRequired} from 'view/com/auth/withAuthRequired'
|
||||
import {ViewHeader} from 'view/com/util/ViewHeader'
|
||||
import {Text} from 'view/com/util/text/Text'
|
||||
|
||||
type Props = NativeStackScreenProps<CommonNavigatorParams, 'CustomAlgorithms'>
|
||||
|
||||
const CustomAlgorithms = withAuthRequired(
|
||||
observer((props: Props) => {
|
||||
const pal = usePalette('default')
|
||||
return (
|
||||
<View>
|
||||
<ViewHeader title="Custom Algorithms" showOnDesktop />
|
||||
<Text>CustomAlgorithms</Text>
|
||||
</View>
|
||||
)
|
||||
}),
|
||||
)
|
||||
|
||||
export default CustomAlgorithms
|
||||
|
||||
const styles = StyleSheet.create({})
|
Loading…
Add table
Add a link
Reference in a new issue