diff --git a/src/components/reader/Sheet.jsx b/src/components/reader/Sheet.jsx index 8a9fedd..e64d76f 100644 --- a/src/components/reader/Sheet.jsx +++ b/src/components/reader/Sheet.jsx @@ -7,7 +7,7 @@ import { CloseIcon } from './icons.jsx'; const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'; -export default function Sheet({ open, onClose, title, label, headerRight, modal = true, pane = false, children }) { +export default function Sheet({ open, onClose, title, label, headerRight, modal = true, pane = false, panelRef, edge, children }) { const dialogRef = useRef(null); const onCloseRef = useRef(onClose); onCloseRef.current = onClose; @@ -41,15 +41,16 @@ export default function Sheet({ open, onClose, title, label, headerRight, modal <> {modal &&