mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-15 20:34:56 +02:00
23 lines
649 B
JavaScript
23 lines
649 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
import React from 'react';
|
|
import TOCItems from '@theme/TOCItems';
|
|
import styles from './styles.module.css';
|
|
export default function TOCInline({toc, minHeadingLevel, maxHeadingLevel}) {
|
|
return (
|
|
<div className={styles.tableOfContentsInline}>
|
|
<TOCItems
|
|
toc={toc}
|
|
minHeadingLevel={minHeadingLevel}
|
|
maxHeadingLevel={maxHeadingLevel}
|
|
className="table-of-contents"
|
|
linkClassName={null}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|