diff --git a/src/components/table-of-contents/TableOfContentsItems.tsx b/src/components/table-of-contents/TableOfContentsItems.tsx index 04c86d34..3f7e4fbe 100644 --- a/src/components/table-of-contents/TableOfContentsItems.tsx +++ b/src/components/table-of-contents/TableOfContentsItems.tsx @@ -12,12 +12,10 @@ import { Link } from '../Link'; type SetMenuOpenStateById = (args: { id: string; isOpen: boolean }) => void; -// export type ItemType = 'menu' | 'link' | 'bullet-link'; - export enum ItemType { - MENU, - LINK, - BULLET_LINK, + MENU = 'menu', + LINK = 'link', + BULLET_LINK = 'bullet-link', } export interface Item {