text: import React from 'react';
  import {Platform} from 'react-native';
  import {HeaderButton} from 'react-navigation-header-buttons';
  import {Ionicons} from '@expo/vector-icons';
  
  import Colors from '../constants/Colors';
  
  const CustomHeaderButton = props => {
    return (
      <HeaderButton
        {...props}
        IconComponent={Ionicons}
        iconSize={23}
        Color={Platform.OS === 'android' ? 'white' : Colors.headerColor}
      />
    );
  };
  
  export default CustomHeaderButton;
  