-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathnext.mdx.use.mjs
More file actions
28 lines (25 loc) · 984 Bytes
/
next.mdx.use.mjs
File metadata and controls
28 lines (25 loc) · 984 Bytes
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
'use strict';
import BadgeGroup from '@node-core/ui-components/Common/BadgeGroup';
import DownloadReleasesTable from './components/Downloads/DownloadReleasesTable';
import UpcomingMeetings from './components/MDX/Calendar/UpcomingMeetings';
import WithBadgeGroup from './components/withBadgeGroup';
import WithBanner from './components/withBanner';
import WithNodeRelease from './components/withNodeRelease';
/**
* A full list of React Components that we want to pass through to MDX
*
* @satisfies {import('mdx/types').MDXComponents}
*/
export const mdxComponents = {
DownloadReleasesTable: DownloadReleasesTable,
// HOC for getting Node.js Release Metadata
WithNodeRelease: WithNodeRelease,
// HOC for providing Banner Data
WithBanner: WithBanner,
// HOC for providing Badge Data
WithBadgeGroup: WithBadgeGroup,
// Renders an container for Upcoming Node.js Meetings
UpcomingMeetings: UpcomingMeetings,
// Standalone Badge Group
BadgeGroup: BadgeGroup,
};