import Ionicons from '@expo/vector-icons/build/Ionicons'; import React from 'react'; import { StyleSheet, TouchableOpacity, TouchableOpacityProps } from 'react-native'; type Props = TouchableOpacityProps & { color?: string; name: string; size?: number; }; const HeaderIconButton = ({ color = 'blue', disabled, name, onPress, size = 24 }: Props) => ( ); const styles = StyleSheet.create({ iconButton: { paddingHorizontal: 12, }, }); export default HeaderIconButton;