/**
 * React Native Full App (https://store.enappd.com/product/react-native-full-app)
 *
 * Copyright © 2019-present Enappd. All rights reserved.
 *
 * This source code is licensed as per the terms found in the
 * LICENSE.md file in the root directory of this source tree.
 */
import { StyleProp, ViewStyle, TextStyle, ImageStyle } from 'react-native';
import Constants from 'expo-constants';

const React = require('react-native');

const { Dimensions } = React;
const deviceHeight = Dimensions.get('window').height;
const deviceWidth = Dimensions.get('window').width;
const pickerRightPadding = Constants.platform
  ? Constants.platform.android
    ? 0
    : 40
  : null;

type ComponentsStyles = {
  placeholder: StyleProp<TextStyle>;
  textStyle: StyleProp<TextStyle>;
  pickerWidthHeight: StyleProp<TextStyle>;
  picker: StyleProp<ViewStyle>;
  iconVisu: any;
};

const styles: ComponentsStyles = {
  textStyle: { maxWidth: '100%', paddingHorizontal: 0, textAlign: 'left' },
  iconVisu: { zIndex: 5 },
  picker: {
    width: '100%',
    paddingRight: pickerRightPadding,
  },
  placeholder: { maxWidth: '100%', paddingHorizontal: 0 },
  pickerWidthHeight: { width: '100%', zIndex: 2 },
};

export default styles;
