diff --git a/packages/site/src/components/DocumentOutline.tsx b/packages/site/src/components/DocumentOutline.tsx index e82cae73f..56366647e 100644 --- a/packages/site/src/components/DocumentOutline.tsx +++ b/packages/site/src/components/DocumentOutline.tsx @@ -9,6 +9,9 @@ import classNames from 'classnames'; import throttle from 'lodash.throttle'; import React, { useCallback, useEffect, useRef, useState } from 'react'; import { DocumentChartBarIcon } from '@heroicons/react/24/outline'; +import { ChevronRightIcon } from '@heroicons/react/24/solid'; +import * as Collapsible from '@radix-ui/react-collapsible'; + const SELECTOR = [1, 2, 3, 4].map((n) => `main h${n}`).join(', '); const HIGHLIGHT_CLASS = 'highlight'; @@ -247,6 +250,7 @@ export const DocumentOutline = ({ return ; } return ( + + ); };