mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
9 lines
303 B
Plaintext
9 lines
303 B
Plaintext
---
|
|
// Captures slot markup (typically a modal) into page-modals; BaseLayout emits
|
|
// it at the end of <body> via <PageModals />.
|
|
// Registration is synchronous (a promise) — see page-modals.ts.
|
|
import { addPageModal } from '@shared/lib/page-modals';
|
|
|
|
addPageModal(Astro.slots.render('default'));
|
|
---
|