1
- import * as React from "react" ;
2
1
import Image from "next/image" ;
3
2
import Link from "next/link" ;
3
+ import * as React from "react" ;
4
4
5
- import { cn } from "@/lib/utils" ;
6
5
import { Callout } from "@/components/callout" ;
7
6
import { CodeBlockCommand } from "@/components/code-block-command" ;
8
7
import { CodeCollapsibleWrapper } from "@/components/code-collapsible-wrapper" ;
@@ -12,6 +11,10 @@ import { ComponentSource } from "@/components/component-source";
12
11
import { ComponentsList } from "@/components/components-list" ;
13
12
import { CopyButton } from "@/components/copy-button" ;
14
13
import { getIconForLanguageExtension } from "@/components/icons" ;
14
+ import { ProComponentPreview } from "@/components/pro-component-preview" ;
15
+ import { TechStack } from "@/components/tech-stack" ;
16
+ import { TemplateOpen } from "@/components/template-open" ;
17
+ import { TemplatePreview } from "@/components/template-preview" ;
15
18
import {
16
19
Accordion ,
17
20
AccordionContent ,
@@ -21,9 +24,7 @@ import {
21
24
import { Alert , AlertDescription , AlertTitle } from "@/components/ui/alert" ;
22
25
import { Button } from "@/components/ui/button" ;
23
26
import { Tabs , TabsContent , TabsList , TabsTrigger } from "@/components/ui/tabs" ;
24
- import { TemplateOpen } from "@/components/template-open" ;
25
- import { TemplatePreview } from "@/components/template-preview" ;
26
- import { TechStack } from "@/components/tech-stack" ;
27
+ import { cn } from "@/lib/utils" ;
27
28
import { TweetCard } from "@/registry/magicui/tweet-card" ;
28
29
29
30
export const mdxComponents = {
@@ -359,4 +360,5 @@ export const mdxComponents = {
359
360
Tweet : ( { id, className } : { id : string ; className ?: string } ) => (
360
361
< TweetCard id = { id } className = { cn ( "mx-auto" , className ) } />
361
362
) ,
363
+ ProComponentPreview,
362
364
} ;
0 commit comments