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