forked from chitimbwasc/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmdx-components.js
More file actions
42 lines (40 loc) · 1.37 KB
/
mdx-components.js
File metadata and controls
42 lines (40 loc) · 1.37 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
import { useMDXComponents as getThemeComponents } from 'nextra-theme-docs'
import ContributorChart from '@/components/ContributorChart';
import AspectsWithPrisma from '@/components/AspectsWithPrisma';
import StandardButton from '@/components/StandardButton';
import TeamCards from '@/components/TeamCards';
import ActiveJourneyDisplay from '@/components/ActiveJourneyDisplay';
import CohortCards from '@/components/CohortCards';
import { EventCard } from '@/components/EventCard';
import TeamTabs from '@/components/TeamTabs';
import TopicTabs from '@/components/TopicTabs'
import GraphVisualisation from '@/components/GraphVisualisation';
import AppGrid from '@/components/AppGrid';
import SystemDiagramPI from '@/components/SystemDiagramProcessInfrastructure';
import PageGate from '@/components/PageGate';
import GraphRenderer from './components/GraphRenderer';
import FeatureText from '@/components/FeatureText';
// Get the default MDX components
const themeComponents = getThemeComponents()
// Merge components
export function useMDXComponents(components) {
return {
...themeComponents,
ContributorChart,
AspectsWithPrisma,
StandardButton,
TeamCards,
ActiveJourneyDisplay,
CohortCards,
EventCard,
TeamTabs,
TopicTabs,
GraphVisualisation,
GraphRenderer,
AppGrid,
SystemDiagramPI,
PageGate,
FeatureText,
...components
}
}