import React from 'react'; import { View } from 'react-native'; import { SendButton, ActionsButton } from './buttons'; import styles from './styles'; interface IMessageBoxRightButtons { theme: string; showSend: boolean; submit(): void; showMessageBoxActions(): void; isActionsEnabled: boolean; } const RightButtons = React.memo(({ theme, showSend, submit, showMessageBoxActions, isActionsEnabled }: IMessageBoxRightButtons) => { if (showSend) { return ; } if (isActionsEnabled) { return ; } return ; }); export default RightButtons;