--- import TabListItem from './TabListItem.astro'; export interface Props { /** * List of content for the tab list. * * To use more complex mark-up for the tab list, pass ``s * inside a ``. */ tabs?: { label: string; id: string; initial?: boolean }[]; /** Enable default styles for the tab list and panels. */ styled?: boolean; /** Additional class names to apply to `.tab-list` and `.panels`. */ class?: string; } const { tabs, styled } = Astro.props as Props; ---
    { tabs?.map((tab) => ( {tab.label} )) }