import React from 'react'; import { View } from 'react-native'; import { CancelEditingButton, ActionsButton } from './buttons'; import styles from './styles'; interface IMessageBoxLeftButtons { theme: string; showMessageBoxActions(): void; editing: boolean; editCancel(): void; isActionsEnabled: boolean; } const LeftButtons = React.memo(({ theme, showMessageBoxActions, editing, editCancel, isActionsEnabled }: IMessageBoxLeftButtons) => { if (editing) { return ; } if (isActionsEnabled) { return ; } return ; }); export default LeftButtons;