// js/sdk/SdkPager.jsx // // Bottom prev/next pager tiles for SDK pages. // // Mount: //
// ... // // // // Either side can be `null` (omitted on first/last pages). When // only one side is set, the other slot stays empty — the grid // preserves layout so the present tile stays in its column. const SdkPager = ({ prev = null, next = null }) => (
{prev ? (
← Prev
{prev.label}
) : } {next ? (
Next →
{next.label}
) : }
); window.SdkPager = SdkPager;