text: import { Platform } from 'react-native';
  import _ from 'lodash';
  
  import variable from './../variables/platform';
  
  export default (variables = variable) => {
    const platformStyle = variables.platformStyle;
    const platform = variables.platform;
  
    const toastTheme = {
      '.danger': {
        backgroundColor: variables.brandDanger
      },
      '.warning': {
        backgroundColor: variables.brandWarning
      },
      '.success': {
        backgroundColor: variables.brandSuccess
      },
      backgroundColor: 'rgba(0,0,0,0.8)',
      borderRadius: (platform==='ios') ? 5 : 0,
      flexDirection: 'row',
      justifyContent: 'space-between',
      alignItems: 'center',
      padding: 10,
      minHeight: 50,
      'NativeBase.Text': {
        color: '#fff',
      },
      'NativeBase.Button': {
        backgroundColor: 'transparent',
        height: 30,
        elevation: 0,
        'NativeBase.Text': {
          fontSize: 14
        }
      }
    };
  
  
    return toastTheme;
  };
  