diff --git a/docs/data/joy/getting-started/templates/email/App.tsx b/docs/data/joy/getting-started/templates/email/App.tsx index 3863d2c15bb20a..50c05cf57a3ac7 100644 --- a/docs/data/joy/getting-started/templates/email/App.tsx +++ b/docs/data/joy/getting-started/templates/email/App.tsx @@ -7,13 +7,11 @@ import Typography from '@mui/joy/Typography'; import Button from '@mui/joy/Button'; import Stack from '@mui/joy/Stack'; -// Icons import import CreateRoundedIcon from '@mui/icons-material/CreateRounded'; import EmailRoundedIcon from '@mui/icons-material/EmailRounded'; import PeopleAltRoundedIcon from '@mui/icons-material/PeopleAltRounded'; import FolderRoundedIcon from '@mui/icons-material/FolderRounded'; -// custom import Layout from './components/Layout'; import Navigation from './components/Navigation'; import Mails from './components/Mails'; @@ -108,12 +106,7 @@ export default function EmailExample() { justifyContent: 'space-between', }} > - + My inbox diff --git a/docs/data/joy/getting-started/templates/email/components/EmailContent.tsx b/docs/data/joy/getting-started/templates/email/components/EmailContent.tsx index 730300d012f94f..4efb1aaba21f42 100644 --- a/docs/data/joy/getting-started/templates/email/components/EmailContent.tsx +++ b/docs/data/joy/getting-started/templates/email/components/EmailContent.tsx @@ -12,7 +12,6 @@ import Divider from '@mui/joy/Divider'; import Avatar from '@mui/joy/Avatar'; import Tooltip from '@mui/joy/Tooltip'; -// Icons import import DeleteRoundedIcon from '@mui/icons-material/DeleteRounded'; import ForwardToInboxRoundedIcon from '@mui/icons-material/ForwardToInboxRounded'; import FolderIcon from '@mui/icons-material/Folder'; @@ -171,7 +170,6 @@ export default function EmailContent() { > Details for our Yosemite Park hike - to - {}}> steve@mail.com diff --git a/docs/data/joy/getting-started/templates/email/components/Header.tsx b/docs/data/joy/getting-started/templates/email/components/Header.tsx index 9fbc266e856bfe..c227a68dad9e56 100644 --- a/docs/data/joy/getting-started/templates/email/components/Header.tsx +++ b/docs/data/joy/getting-started/templates/email/components/Header.tsx @@ -17,7 +17,6 @@ import Drawer from '@mui/joy/Drawer'; import ModalClose from '@mui/joy/ModalClose'; import DialogTitle from '@mui/joy/DialogTitle'; -// Icons import import SearchRoundedIcon from '@mui/icons-material/SearchRounded'; import DarkModeRoundedIcon from '@mui/icons-material/DarkModeRounded'; import LightModeRoundedIcon from '@mui/icons-material/LightModeRounded'; @@ -29,7 +28,6 @@ import OpenInNewRoundedIcon from '@mui/icons-material/OpenInNewRounded'; import LogoutRoundedIcon from '@mui/icons-material/LogoutRounded'; import MenuRoundedIcon from '@mui/icons-material/MenuRounded'; -// Custom import Navigation from './Navigation'; function ColorSchemeToggle() { diff --git a/docs/data/joy/getting-started/templates/email/components/Layout.tsx b/docs/data/joy/getting-started/templates/email/components/Layout.tsx index 505bf26d71c71c..20701467d6d287 100644 --- a/docs/data/joy/getting-started/templates/email/components/Layout.tsx +++ b/docs/data/joy/getting-started/templates/email/components/Layout.tsx @@ -106,16 +106,16 @@ function Main(props: BoxProps) { ); } -function SideDrawer({ - onClose, - ...props -}: BoxProps & { onClose: React.MouseEventHandler }) { +function SideDrawer( + props: BoxProps & { onClose: React.MouseEventHandler }, +) { + const { onClose, ...other } = props; return ( - {item.date} -
{item.title} diff --git a/docs/data/joy/getting-started/templates/email/components/Navigation.tsx b/docs/data/joy/getting-started/templates/email/components/Navigation.tsx index f5030de22590ee..6c725c168539c9 100644 --- a/docs/data/joy/getting-started/templates/email/components/Navigation.tsx +++ b/docs/data/joy/getting-started/templates/email/components/Navigation.tsx @@ -7,7 +7,6 @@ import ListItemButton from '@mui/joy/ListItemButton'; import ListItemDecorator from '@mui/joy/ListItemDecorator'; import ListItemContent from '@mui/joy/ListItemContent'; -// Icons import import InboxRoundedIcon from '@mui/icons-material/InboxRounded'; import OutboxRoundedIcon from '@mui/icons-material/OutboxRounded'; import DraftsRoundedIcon from '@mui/icons-material/DraftsRounded'; diff --git a/docs/data/joy/getting-started/templates/email/components/WriteEmail.tsx b/docs/data/joy/getting-started/templates/email/components/WriteEmail.tsx index b3089673e6201f..c3fc753bf8a088 100644 --- a/docs/data/joy/getting-started/templates/email/components/WriteEmail.tsx +++ b/docs/data/joy/getting-started/templates/email/components/WriteEmail.tsx @@ -47,7 +47,6 @@ const WriteEmail = React.forwardRef( New message - @@ -59,9 +58,7 @@ const WriteEmail = React.forwardRef( CC - -