import { Box } from '@mui/material' import { PoweredBy } from '../../components/PoweredBy/PoweredBy.js' import { SendToWalletExpandButton } from '../../components/SendToWallet/SendToWalletExpandButton.js' import { useWidgetConfig } from '../../providers/WidgetProvider/WidgetProvider.js' import { MainWarningMessages } from './MainWarningMessages.js' import { ReviewButton } from './ReviewButton.js' interface MainPageActionsProps { showSendToWalletExpand?: boolean } const marginSx = { marginBottom: 2 } export const MainPageActions: React.FC = ({ showSendToWalletExpand, }) => { const { hiddenUI } = useWidgetConfig() const showPoweredBy = !hiddenUI?.poweredBy return ( <> {showSendToWalletExpand ? : null} {showPoweredBy ? : null} ) }