import type { BoxProps } from '@mui/material/Box'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; import InputBase from '@mui/material/InputBase'; import { varAlpha } from 'minimal-shared/utils'; // ---------------------------------------------------------------------- type Props = BoxProps & { title?: string; price?: string; imgUrl?: string; description?: string; }; export function BankingInviteFriends({ price, title, imgUrl, description, sx, ...other }: Props) { return ( ({ p: 5, borderRadius: 2, position: 'relative', color: 'common.white', backgroundImage: `linear-gradient(135deg, ${theme.vars.palette.primary.main}, ${theme.vars.palette.primary.dark})`, }), ...(Array.isArray(sx) ? sx : [sx]), ]} {...other} > {title} {price} {description} Invite } inputProps={{ id: 'email-input', sx: { color: 'common.white', '&::placeholder': { opacity: 0.48, color: 'inherit' } }, }} sx={[ (theme) => ({ pl: 1.5, height: 40, borderRadius: 1, bgcolor: varAlpha(theme.vars.palette.common.blackChannel, 0.12), }), ]} /> ); }