import { HelpOutline } from '@mui/icons-material' import { Box, Card, IconButton, Typography } from '@mui/joy' import { useState } from 'react' import ModalActions from '../../components/common/ModalActions' import { useResponsiveModal } from '../../hooks/useResponsiveModal' const MultiSelectHelp = ({ isVisible = true }) => { const { ResponsiveModal } = useResponsiveModal() const [isHelpOpen, setIsHelpOpen] = useState(false) if (!isVisible) return null return ( <> {/* Help Button */} setIsHelpOpen(true)} sx={{ position: 'fixed', bottom: 24, right: 24, zIndex: 1000, width: 48, height: 48, borderRadius: '50%', boxShadow: 'lg', }} aria-label='Show keyboard shortcuts' title='Show keyboard shortcuts' > {/* Help Modal */} setIsHelpOpen(false)} title='Multi-select Mode' description='Use these keyboard shortcuts to work more efficiently.' footer={ setIsHelpOpen(false) }} /> } > {/* Selection shortcuts */} Selection {/* Action shortcuts */} Actions {/* Interface shortcuts */} Interface ) } const ShortcutItem = ({ keys, description }) => ( {description} {keys.map((key, index) => ( {index > 0 && ( + )} {key} ))} ) export default MultiSelectHelp