--- // Modal shell markup. Wrap with at the call site to emit at the // end of (see PageModals). For inline gallery demos use ModalInline. interface Props { modalId?: string size?: string top?: boolean scrollable?: boolean class?: string show?: boolean style?: string } const { modalId = 'simple', size, top, scrollable, class: className, show, style } = Astro.props const modalClass = ['modal modal-blur fade', className, show && 'show'].filter(Boolean).join(' ') const dialogClass = ['modal-dialog', size && `modal-${size}`, !top && 'modal-dialog-centered', scrollable && 'modal-dialog-scrollable'].filter(Boolean).join(' ') ---