constellation/docs/src/theme/MDXComponents.js
2022-09-02 11:52:42 +02:00

14 lines
No EOL
444 B
JavaScript

import React from 'react';
// Import the original mapper
import MDXComponents from '@theme-original/MDXComponents';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
export default {
// Re-use the default mapping
...MDXComponents,
// Map the "highlight" tag to our <Highlight /> component!
// `Highlight` will receive all props that were passed to `highlight` in MDX
tabs: Tabs,
tabItem: TabItem,
};