--- /** * Renders the state interface table for API reference. */ import Table from '@/components/typography/Table.astro'; import Tbody from '@/components/typography/Tbody.astro'; import Th from '@/components/typography/Th.astro'; import Thead from '@/components/typography/Thead.astro'; import Tr from '@/components/typography/Tr.astro'; import type { StateDef } from '@/types/component-reference'; import StateRow from './StateRow.astro'; interface Props { state: Record; componentName: string; } const { state, componentName } = Astro.props; const stateEntries = Object.entries(state); --- { stateEntries.map(([name, def]) => ( )) }
Property Type