--- import stableReference from '../data/config-reference.json'; import previewReference from '../data/config-reference-preview.json'; interface Props { placeholder?: string; noMatches?: string; keyCountLabel?: string; } const { placeholder = 'filter keys, e.g. sidebar, prefix, sound…', noMatches = 'No keys match this filter.', keyCountLabel = 'keys', } = Astro.props; const reference = Astro.url.pathname.includes('/docs/preview/') ? previewReference : stableReference; const totalKeys = reference.sections.reduce((sum, section) => sum + section.keys.length, 0); ---
{entry.key}
{entry.type}
{entry.default && (
default {entry.default}
)}
{entry.description}
{entry.values && (
{entry.values.map((value) => (
{value}
))}
)}
{noMatches}