diff options
Diffstat (limited to 'docs/src/components/DocSidebar/DocSidebar.tsx')
-rw-r--r-- | docs/src/components/DocSidebar/DocSidebar.tsx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/docs/src/components/DocSidebar/DocSidebar.tsx b/docs/src/components/DocSidebar/DocSidebar.tsx deleted file mode 100644 index ebf3dbf0d..000000000 --- a/docs/src/components/DocSidebar/DocSidebar.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import type { FunctionalComponent } from 'preact'; -import { h } from 'preact'; -import More from './More'; -import TableOfContents from './TableOfContents'; - -export const DocSidebar: FunctionalComponent<{ - headers: any[]; - editHref: string; -}> = ({ headers = [], editHref }) => { - return ( - <nav class="sidebar-nav" aria-labelledby="sidebar-content"> - <div class="sidebar-nav-inner"> - <TableOfContents headers={headers} /> - <More editHref={editHref} /> - </div> - </nav> - ); -}; - -export default DocSidebar; -export { default as More } from './More'; -export { default as TableOfContents } from './TableOfContents'; |