aboutsummaryrefslogtreecommitdiff
path: root/src/theme/MDXComponents.js
blob: 5af587d96fa6aae314d4260b360d3c16afa7d3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
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,
};