tooot/src/screens/Me/UpdateRemote.tsx

20 lines
571 B
TypeScript
Raw Normal View History

2021-01-07 19:13:09 +01:00
import ComponentInstance from '@components/Instance'
import React from 'react'
2021-01-14 00:43:35 +01:00
import { KeyboardAvoidingView, Platform } from 'react-native'
2021-01-07 19:13:09 +01:00
import { ScrollView } from 'react-native-gesture-handler'
const UpdateRemote: React.FC = () => {
return (
2021-01-14 00:43:35 +01:00
<KeyboardAvoidingView
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
style={{ flex: 1 }}
>
2021-01-07 19:13:09 +01:00
<ScrollView keyboardShouldPersistTaps='handled'>
<ComponentInstance type='remote' disableHeaderImage />
</ScrollView>
</KeyboardAvoidingView>
)
}
export default UpdateRemote