-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmdx-components.tsx
More file actions
51 lines (49 loc) · 1.72 KB
/
Copy pathmdx-components.tsx
File metadata and controls
51 lines (49 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { useMDXComponents as getDocsMDXComponents } from 'nextra-theme-docs'
import { Callout } from './components/Callout'
import { Card } from './components/Card'
import { CardGrid } from './components/CardGrid'
import { Toggle } from './components/Toggle'
import { AssetCard } from './components/AssetCard'
import { Timeline, TimelineItem } from './components/Timeline'
import { Placeholder } from './components/Placeholder'
import { Hero } from './components/Hero'
import { RecentUpdates } from './components/RecentUpdates'
import { LogList } from './components/LogList'
import { Mermaid } from './components/Mermaid'
import { Claim } from './components/Manifesto'
import { RepoList } from './components/RepoList'
import { CurriculumTimeline } from './components/CurriculumTimeline'
import { PromotionPipeline } from './components/PromotionPipeline'
import { DemoDayFullList } from './components/DemoDayFullList'
import { EducationBriefingFullList } from './components/EducationBriefingFullList'
import { TecoTalkExplorer } from './components/TecoTalkExplorer'
import { TecobleArchiveExplorer } from './components/TecobleArchiveExplorer'
import { VlogArchiveExplorer } from './components/VlogArchiveExplorer'
const docsComponents = getDocsMDXComponents()
export function useMDXComponents(components?: Record<string, React.FC>) {
return {
...docsComponents,
Callout,
Card,
CardGrid,
Toggle,
AssetCard,
Timeline,
TimelineItem,
Placeholder,
Hero,
RecentUpdates,
LogList,
Mermaid,
Claim,
RepoList,
CurriculumTimeline,
PromotionPipeline,
DemoDayFullList,
EducationBriefingFullList,
TecoTalkExplorer,
TecobleArchiveExplorer,
VlogArchiveExplorer,
...components
}
}