about summary refs log tree commit diff
path: root/src/view/screens/CustomAlgorithms.tsx
blob: 3e2fa7e73f0f6ba4e4e99016449fac1d4016b70c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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({})