import { makeStyles } from "@material-ui/core/styles"; import CloseIcon from '@mui/icons-material/Close'; import EditIcon from '@mui/icons-material/Edit'; import ListItemText from '@mui/material/ListItemText'; import { TMessage } from "../../../../../../typescript/redux/messages/types"; const useStyles = makeStyles({ editTop : { position: 'absolute', left: 0, top: '-7vh', height: '6vh', width: '100%', borderRadius: 8, display: 'flex', flexWrap: 'nowrap', alignContent: 'center', alignItems: 'center', color: '#6b6b6b', border:'solid 2px rgb(41, 139, 231)', backgroundColor: '#ffffff', padding: '0px 5px', zIndex:2, }, editListWrapper: { width: '100%', wordBreak: 'break-word', overflowY: "auto", height: '6vh', }, editIconClose: { cursor: 'pointer', marginLeft: 5, marginRight: 5, '&:hover': { color:'#f02a2a', transform: 'rotate(180deg)', transition: 'all 250ms ease-out ', } }, editColumn: { height: '80%', width: 2, backgroundColor: 'rgb(41, 139, 231)', marginRight:10 }, }); interface IEditBar { isEdit:TMessage, handleCloseEdit: () => void, handleScrollToTheMessage:(_id:string) => void } const EditBar = ({ isEdit, handleCloseEdit,handleScrollToTheMessage }: IEditBar) => { const classes = useStyles(); return (
) } export default EditBar