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

15 lines
366 B
TypeScript

import React from 'react';
import BaseButton from './BaseButton';
interface IActionsButton {
theme: string;
onPress(): void;
}
const ActionsButton = React.memo(({ theme, onPress }: IActionsButton) => (
<BaseButton onPress={onPress} testID='messagebox-actions' accessibilityLabel='Message_actions' icon='add' theme={theme} />
));
export default ActionsButton;