import React from 'react'; import { TextInput, StyleSheet, I18nManager } from 'react-native'; import { themes } from '../constants/colors'; const styles = StyleSheet.create({ input: { ...I18nManager.isRTL ? { textAlign: 'right' } : { textAlign: 'left' } } }); interface IThemedTextInput { style: object; theme: string; } const ThemedTextInput = React.forwardRef(({ style, theme, ...props }: IThemedTextInput, ref: any) => ( )); export default ThemedTextInput;