Open this example in the interactive library
Source code
// app/dashboard/layout.tsx
import type { ReactNode } from "react";
export default function SlotBelowDashboardSummary({
children,
activity,
}: {
children: ReactNode;
activity: ReactNode;
}) {
return (
<main>
<section aria-label="Overview">{children}</section>
<section aria-label="Activity feed">
<h2>Latest activity</h2>
{activity}
</section>
</main>
);
}
