import * as React from "react" ; import { TextInput } from "react-native" ; import { useTheme } from "react-native-paper" ; export default function RawTextInput ( props_ ) { const theme = useTheme ( ) ; const { style , ... props } = props_ ; return ( < TextInput style = { [ { color : theme . colors . text , backgroundColor : theme . colors . background } , style ] } { ... props } />); }