import { Close, HelpOutline, Keyboard } from '@mui/icons-material' import { Box, Button, Card, Divider, IconButton, Modal, ModalDialog, Typography, } from '@mui/joy' import { useState } from 'react' const MultiSelectHelp = ({ isVisible = true }) => { 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', }} title='Show keyboard shortcuts' > {/* Help Modal */} setIsHelpOpen(false)}> Multi-select Mode setIsHelpOpen(false)} > Use these keyboard shortcuts to work more efficiently with multiple tasks: {/* Selection shortcuts */} Selection {/* Action shortcuts */} Actions {/* Interface shortcuts */} Interface ) } const ShortcutItem = ({ keys, description }) => ( {description} {keys.map((key, index) => ( {index > 0 && ( + )} {key} ))} ) export default MultiSelectHelp