mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 14:54:58 +08:00
Provide RTL support in NavigationCardStack
Summary: Provide RTL support in NavigationCardStack Reviewed By: fkgozali Differential Revision: D3740172 fbshipit-source-id: 69466d24e148d0d81cb9f21c55f545abda46ac35
This commit is contained in:
committed by
Facebook Github Bot 3
parent
959c8b170e
commit
fc864a22bd
@@ -27,6 +27,7 @@ const React = require('react');
|
||||
const ReactNative = require('react-native');
|
||||
|
||||
const {
|
||||
I18nManager,
|
||||
Image,
|
||||
Platform,
|
||||
StyleSheet,
|
||||
@@ -58,7 +59,8 @@ const styles = StyleSheet.create({
|
||||
height: 24,
|
||||
width: 24,
|
||||
margin: Platform.OS === 'ios' ? 10 : 16,
|
||||
resizeMode: 'contain'
|
||||
resizeMode: 'contain',
|
||||
transform: [{scaleX: I18nManager.isRTL ? -1 : 1}],
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user