mirror of https://github.com/tooot-app/app
20 lines
571 B
TypeScript
20 lines
571 B
TypeScript
import ComponentInstance from '@components/Instance'
|
|
import React from 'react'
|
|
import { KeyboardAvoidingView, Platform } from 'react-native'
|
|
import { ScrollView } from 'react-native-gesture-handler'
|
|
|
|
const UpdateRemote: React.FC = () => {
|
|
return (
|
|
<KeyboardAvoidingView
|
|
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
|
|
style={{ flex: 1 }}
|
|
>
|
|
<ScrollView keyboardShouldPersistTaps='handled'>
|
|
<ComponentInstance type='remote' disableHeaderImage />
|
|
</ScrollView>
|
|
</KeyboardAvoidingView>
|
|
)
|
|
}
|
|
|
|
export default UpdateRemote
|