Skip to content

Commit 096da59

Browse files
committed
Create index.tsx
Swizzle component to add glossary tooltip function.
1 parent eae3e0f commit 096da59

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/theme/MDXContent/index.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
import MDXContent from '@theme-original/MDXContent';
3+
import type MDXContentType from '@theme/MDXContent';
4+
import type {WrapperProps} from '@docusaurus/types';
5+
6+
type Props = WrapperProps<typeof MDXContentType>;
7+
8+
export default function MDXContentWrapper(props: Props): JSX.Element {
9+
return (
10+
<>
11+
<MDXContent {...props} />
12+
</>
13+
);
14+
}

0 commit comments

Comments
 (0)