import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
export const DocPropsList = ({items}) => (
<table>
<tr>
<th>Doc Page</th>
<th>Custom Props</th>
</tr>
{items.map((item, index) => (
<tr key={index}>
<td>{item.label}</td>
<td>{JSON.stringify(item.customProps)}</td>
</tr>
))}
</table>
);
<DocPropsList items={useCurrentSidebarCategory().items}/>