verdnatura-chat/app/containers/MessageBox/buttons/ActionsButton.js

22 lines
427 B
JavaScript
Raw Normal View History

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'
2020-07-27 19:53:33 +00:00
icon='add'
2019-12-04 16:39:53 +00:00
theme={theme}
/>
));
ActionsButton.propTypes = {
2019-12-04 16:39:53 +00:00
theme: PropTypes.string,
onPress: PropTypes.func.isRequired
};
export default ActionsButton;