mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(mdx-components): add VideoEmbed component to MDX components map
This commit is contained in:
parent
535d8ec51a
commit
869957de19
@ -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 { VideoEmbed } from "@/components/content/video-embed";
|
||||||
import { AccordionComponent } from "@/components/content/accordion";
|
import { AccordionComponent } from "@/components/content/accordion";
|
||||||
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
|
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
|
||||||
|
|
||||||
@ -18,4 +19,5 @@ export const MdxComponents = {
|
|||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
),
|
),
|
||||||
Accordion: AccordionComponent,
|
Accordion: AccordionComponent,
|
||||||
|
VideoEmbed,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user