mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
feat(mdx-components): add AccordionComponent to MdxComponents
This commit is contained in:
parent
671f29b66a
commit
a86a42a483
@ -1,5 +1,6 @@
|
|||||||
import { HTMLAttributes } from "react";
|
import { HTMLAttributes } from "react";
|
||||||
import { Pre } from "@/components/content/pre";
|
import { Pre } from "@/components/content/pre";
|
||||||
|
import { AccordionComponent } from "@/components/content/accordion";
|
||||||
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
|
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
|
||||||
|
|
||||||
export const MdxComponents = {
|
export const MdxComponents = {
|
||||||
@ -16,4 +17,5 @@ export const MdxComponents = {
|
|||||||
<ScrollBar orientation="horizontal" />
|
<ScrollBar orientation="horizontal" />
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
),
|
),
|
||||||
|
Accordion: AccordionComponent,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user