-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathnext.mdx.use.mjs
More file actions
58 lines (55 loc) · 2.12 KB
/
next.mdx.use.mjs
File metadata and controls
58 lines (55 loc) · 2.12 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
52
53
54
55
56
57
58
'use strict';
import BadgeGroup from '@node-core/ui-components/Common/BadgeGroup';
import Button from './components/Common/Button';
import LinkWithArrow from './components/Common/LinkWithArrow';
import DownloadsTable from './components/Downloads/DownloadsTable';
import EOLAlertBox from './components/EOL/EOLAlert';
import EOLReleaseTable from './components/EOL/EOLReleaseTable';
import Link from './components/Link';
import UpcomingMeetings from './components/MDX/Calendar/UpcomingMeetings';
import MinorReleasesTable from './components/Releases/MinorReleasesTable';
import PreviousReleasesTable from './components/Releases/PreviousReleasesTable';
import ReleaseOverview from './components/Releases/ReleaseOverview';
import WithBadgeGroup from './components/withBadgeGroup';
import WithBanner from './components/withBanner';
import WithDownloadArchive from './components/withDownloadArchive';
import WithNodeRelease from './components/withNodeRelease';
import WithReleaseAlertBox from './components/withReleaseAlertBox';
/**
* A full list of React Components that we want to pass through to MDX
*
* @satisfies {import('mdx/types').MDXComponents}
*/
export const mdxComponents = {
// HOC for providing the Download Archive Page properties
WithDownloadArchive,
// Renders a table with Node.js Releases with different platforms and architectures
DownloadsTable,
PreviousReleasesTable,
// HOC for getting Node.js Release Metadata
WithNodeRelease,
// Renders an alert box with the given release status
WithReleaseAlertBox,
// HOC for providing Banner Data
WithBanner,
// HOC for providing Badge Data
WithBadgeGroup,
// Standalone Badge Group
BadgeGroup,
// Renders the Release Overview for a specified version
ReleaseOverview,
// Renders a table with all the Minor Releases for a Major Version
MinorReleasesTable,
// Renders an container for Upcoming Node.js Meetings
UpcomingMeetings,
// Renders an EOL alert
EOLAlertBox,
// Renders the EOL Table
EOLReleaseTable,
// Renders a Button Component for `button` tags
Button,
// Regular links (without arrow)
Link,
// Links with External Arrow
LinkWithArrow,
};