docs.sheetjs.com/docz/docs/09-miscellany/index.md

16 lines
606 B
Markdown
Raw Permalink Normal View History

2023-10-24 06:20:57 +00:00
---
title: Miscellany
pagination_next: constellation/index
---
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
<ul>{useCurrentSidebarCategory().items.map(globalThis.lambda = (item, index) => {
const listyle = (item.customProps?.icon) ? {
listStyleImage: `url("${item.customProps.icon}")`
} : {};
return (<li style={listyle} {...(item.customProps?.class ? {className: item.customProps.class}: {})}>
<a href={item.href}>{item.label}</a>{item.customProps?.summary && (" - " + item.customProps.summary)}
<ul>{item.items && item.items.map(lambda)}</ul>
</li>);
})}</ul>