1
1
// @ts -nocheck
2
2
3
3
import config from 'config' ;
4
- import { Accordion } from 'doxium/components/accordion' ;
5
- import { Alert , AlertProps } from 'doxium/components/alert' ;
4
+ import Accordion from 'doxium/components/accordion' ;
5
+ import Alert , { AlertProps } from 'doxium/components/alert' ;
6
6
import { CardGroup , CardGroupProps , CardItem , CardItemProps } from 'doxium/components/card' ;
7
- import { CodeWrapper } from 'doxium/components/code-wrapper' ;
7
+ import CodeWrapper from 'doxium/components/code-wrapper' ;
8
8
import { ColumnGroup , ColumnGroupProps , ColumnItem , ColumnItemProps } from 'doxium/components/column' ;
9
9
import { File , Folder } from 'doxium/components/filetree' ;
10
- import { HashtagButton } from 'doxium/components/hashtag-button' ;
11
- import { Outline } from 'doxium/components/outline' ;
12
- import { Tabs } from 'doxium/components/tabs' ;
13
- import { Timeline } from 'doxium/components/timeline' ;
14
- import { VideoComponent , VideoProps } from 'doxium/components/video' ;
10
+ import HashtagButton from 'doxium/components/hashtag-button' ;
11
+ import Outline from 'doxium/components/outline' ;
12
+ import Tabs from 'doxium/components/tabs' ;
13
+ import Timeline from 'doxium/components/timeline' ;
14
+ import VideoComponent , { VideoProps } from 'doxium/components/video' ;
15
15
import { cleanHeadingId } from 'doxium/lib' ;
16
16
import { FileProps , FolderProps , preProps , ShikiThemeBackgroundHexDefault , TabsProps } from 'doxium/types' ;
17
17
import { cn } from 'doxium/utils' ;
@@ -21,7 +21,7 @@ import { BundledTheme } from 'shiki';
21
21
22
22
const theme = config . style . shikiTheme ;
23
23
24
- export const mdxComponents = {
24
+ const mdxComponents = {
25
25
a : ( { children, ...props } : React . AnchorHTMLAttributes < HTMLAnchorElement > ) => {
26
26
const external = props . href ?. toString ( ) . startsWith ( 'http' ) ;
27
27
return external ? (
@@ -194,3 +194,5 @@ export const mdxComponents = {
194
194
return < ColumnItem center = { center } > { children } </ ColumnItem > ;
195
195
} ,
196
196
} ;
197
+
198
+ export default mdxComponents ;
0 commit comments