From 3fc0ee1b72c12922254533b78695ffa17e7232be Mon Sep 17 00:00:00 2001
From: Yasutake Yohei <yohei@yasutakeyohei.com>
Date: Sat, 30 Dec 2023 22:24:55 +0900
Subject: initial commit

---
 src/theme/MDXComponents.js | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 src/theme/MDXComponents.js

(limited to 'src/theme')

diff --git a/src/theme/MDXComponents.js b/src/theme/MDXComponents.js
new file mode 100644
index 00000000..5af587d9
--- /dev/null
+++ b/src/theme/MDXComponents.js
@@ -0,0 +1,12 @@
+import React from 'react';
+// Import the original mapper
+import MDXComponents from '@theme-original/MDXComponents';
+import MessageBubble from '@site/src/components/MessageBubble';
+
+export default {
+  // Re-use the default mapping
+  ...MDXComponents,
+  // Map the "<MessageBubble>" tag to our MessageBubble component
+  // `MessageBubble` will receive all props that were passed to `<MessageBubble>` in MDX
+  MessageBubble,
+};
\ No newline at end of file
-- 
cgit v1.2.3-54-g00ecf