-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
To add RTL support to this lib.
go inside library files in node_modules and found file name SaturationValuePicker.js
First:
import { I18nManager,
} from 'react-native';
and then change this code inside the file to this:
const styles = StyleSheet.create({
container: {
justifyContent: 'center',
alignItems: 'center',
},
slider: {
top: 0,
right: I18nManager.isRTL ? 0 : null,
left: I18nManager.isRTL ? null :0,
position: 'absolute',
borderColor: '#fff',
},
linearGradient: {
overflow: 'hidden',
},
});
Metadata
Metadata
Assignees
Labels
No labels