AdminCardSectionProps
Defined in: packages/react/src/admin/AdminCardSection.tsx:22
Props for AdminCardSection.
Type Parameters
Section titled “Type Parameters”T
The item type this section lists (a collection/media-collection/global config, or any other shape the caller resolves per-card).
Properties
Section titled “Properties”headingClassName
Section titled “headingClassName”headingClassName:
string
Defined in: packages/react/src/admin/AdminCardSection.tsx:31
The heading’s own className — callers vary this (DashboardView’s first section
uses px-4 pb-2, its own <h1> above already supplies top spacing; every other
section, here and elsewhere, uses p-4 pb-2 for its own top spacing too) to
preserve each page’s exact prior spacing, pixel for pixel.
items: readonly
T[]
Defined in: packages/react/src/admin/AdminCardSection.tsx:33
The items to render, already permission-filtered by the caller — this component applies no RBAC of its own.
resolveItem
Section titled “resolveItem”resolveItem: (
item) =>AdminCardSectionItem
Defined in: packages/react/src/admin/AdminCardSection.tsx:35
Resolves one item’s card content.
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”AdminCardSectionItem
title:
string
Defined in: packages/react/src/admin/AdminCardSection.tsx:24
Section heading, e.g. "Collections", "Media", "Globals".