vn-verdnaturachat/app/containers/MessageBox/buttons/ActionsButton.js

22 lines
427 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import BaseButton from './BaseButton';
const ActionsButton = React.memo(({ theme, onPress }) => (
<BaseButton
onPress={onPress}
testID='messagebox-actions'
accessibilityLabel='Message_actions'
icon='add'
theme={theme}
/>
));
ActionsButton.propTypes = {
theme: PropTypes.string,
onPress: PropTypes.func.isRequired
};
export default ActionsButton;