import Box from '@mui/system/Box'; import Grid from '@mui/system/Grid'; import styled from '@mui/system/styled'; import Avatar from '@mui/material/Avatar'; import Typography from '@mui/material/Typography'; const Item = styled('div')(({ theme }) => ({ border: '1px solid', borderColor: '#ced7e0', borderRadius: 4, ...theme.applyStyles('dark', { borderColor: '#444d58', }), })); const message = `Truncation should be conditionally applicable on this long line of text as this is a much longer line than what the container can support. `; export default function AutoGridNoWrap() { return ( W {message} W {message} ); }