import MaterialIcon from '@/shared/components/material-icon' import OLTooltip from '@/features/ui/components/ol/ol-tooltip' import OLButton from '@/features/ui/components/ol/ol-button' type PDFToolbarButtonProps = { tooltipId: string icon: string label: string onClick: () => void shortcut?: string disabled?: boolean } export default function PDFToolbarButton({ tooltipId, disabled, label, icon, onClick, shortcut, }: PDFToolbarButtonProps) { return (
{label}
{shortcut &&
{shortcut}
} } overlayProps={{ placement: 'bottom' }} >
) }