Add discussion link
All checks were successful
Build release image / build (push) Successful in 1m26s
All checks were successful
Build release image / build (push) Successful in 1m26s
This commit is contained in:
13
src/theme/MDXComponents.js
Normal file
13
src/theme/MDXComponents.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
// Import the original mapper
|
||||
import MDXComponents from '@theme-original/MDXComponents';
|
||||
//Import custom component
|
||||
import BlogDiscussions from '@site/src/components/BlogDiscussions';
|
||||
|
||||
export default {
|
||||
// Re-use the default mapping
|
||||
...MDXComponents,
|
||||
// Map the "<BlogDiscussions>" tag to our BlogDiscussions component
|
||||
// `BlogDiscussions` will receive all props that were passed to `<BlogDiscussions>` in MDX
|
||||
BlogDiscussions,
|
||||
};
|
Reference in New Issue
Block a user