import * as React from 'react'; import Box from '@mui/joy/Box'; import ModalClose from '@mui/joy/ModalClose'; import Button from '@mui/joy/Button'; import FormControl from '@mui/joy/FormControl'; import FormLabel from '@mui/joy/FormLabel'; import Textarea from '@mui/joy/Textarea'; import Sheet from '@mui/joy/Sheet'; import { IconButton, Input, Stack, Typography } from '@mui/joy'; import FormatColorTextRoundedIcon from '@mui/icons-material/FormatColorTextRounded'; import AttachFileRoundedIcon from '@mui/icons-material/AttachFileRounded'; import InsertPhotoRoundedIcon from '@mui/icons-material/InsertPhotoRounded'; import FormatListBulletedRoundedIcon from '@mui/icons-material/FormatListBulletedRounded'; interface WriteEmailProps { open?: boolean; onClose?: () => void; } const WriteEmail = React.forwardRef( function WriteEmail({ open, onClose }, ref) { return ( New message To CC