diff --git a/index.js b/index.js index a81672f..b39f4be 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,8 @@ import { View, TextInput, Animated, - Platform + Platform, + I18nManager } from 'react-native' class FloatingLabel extends Component { @@ -220,7 +221,8 @@ const styles = StyleSheet.create({ valueText: { height: (Platform.OS == 'ios' ? 20 : 60), fontSize: 16, - color: '#111111' + color: '#111111', + textAlign: (I18nManager.isRTL ? 'right' : 'left') }, focused: { color: "#1482fe"