import React from 'react'; import { BorderlessButton } from 'react-native-gesture-handler'; import PropTypes from 'prop-types'; import { COLOR_PRIMARY } from '../../../constants/colors'; import { CustomIcon } from '../../../lib/Icons'; import styles from '../styles'; import I18n from '../../../i18n'; const BaseButton = React.memo(({ onPress, testID, accessibilityLabel, icon }) => ( )); BaseButton.propTypes = { onPress: PropTypes.func.isRequired, testID: PropTypes.string.isRequired, accessibilityLabel: PropTypes.string.isRequired, icon: PropTypes.string.isRequired }; export default BaseButton;