content: /* @flow */
  import React from 'react';
  import { TouchableHighlight, View } from 'react-native';
  import type { StyleObj } from 'react-native/Libraries/StyleSheet/StyleSheetTypes';
  
  import { HIGHLIGHT_COLOR } from '../styles';
  
  type Props = {
    onPress?: () => void | Promise<any>,
    style?: StyleObj,
    children?: [],
  };
  
  export default ({ onPress, style, children }: Props) => (
    <TouchableHighlight
      underlayColor={HIGHLIGHT_COLOR}
      style={style}
      onPress={onPress}
    >
      <View>
        {children}
      </View>
    </TouchableHighlight>
  );
  