aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/theme/MDXComponents.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/theme/MDXComponents.js b/src/theme/MDXComponents.js
index 5af587d9..87b61d24 100644
--- a/src/theme/MDXComponents.js
+++ b/src/theme/MDXComponents.js
@@ -2,6 +2,10 @@ import React from 'react';
// Import the original mapper
import MDXComponents from '@theme-original/MDXComponents';
import MessageBubble from '@site/src/components/MessageBubble';
+import ExternalLink from '@site/src/components/ExternalLink';
+import BlockQuote from '@site/src/components/BlockQuote';
+import Highlight from '@site/src/components/Highlight';
+import { Icon } from '@iconify/react'; // Import the entire Iconify library.
export default {
// Re-use the default mapping
@@ -9,4 +13,8 @@ export default {
// Map the "<MessageBubble>" tag to our MessageBubble component
// `MessageBubble` will receive all props that were passed to `<MessageBubble>` in MDX
MessageBubble,
+ ExternalLink,
+ BlockQuote,
+ Highlight,
+ Icon: Icon, // Make the iconify Icon component available in MDX as <icon />.
}; \ No newline at end of file