-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: folder rename to match original structure
- Loading branch information
Showing
3 changed files
with
5 additions
and
19 deletions.
There are no files selected for viewing
20 changes: 2 additions & 18 deletions
20
packages/elements-core/src/components/TableOfContents/types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,11 @@ | ||
import type { TableOfContentsItem } from '@stoplight/elements-utils'; | ||
|
||
export type TableOfContentsProps = { | ||
tree: TableOfContentsItem[]; | ||
activeId: string; | ||
Link: CustomLinkComponent; | ||
maxDepthOpenByDefault?: number; | ||
externalScrollbar?: boolean; | ||
isInResponsiveMode?: boolean; | ||
onLinkClick?(): void; | ||
}; | ||
|
||
export type CustomLinkComponent = React.ComponentType<{ | ||
to: string; | ||
className?: string; | ||
children: React.ReactNode; | ||
}>; | ||
|
||
export type { | ||
CustomLinkComponent, | ||
TableOfContentsDivider, | ||
TableOfContentsExternalLink, | ||
TableOfContentsGroup, | ||
TableOfContentsGroupItem, | ||
TableOfContentsItem, | ||
TableOfContentsNode, | ||
TableOfContentsNodeGroup, | ||
TableOfContentsProps, | ||
} from '@stoplight/elements-utils'; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters