File tree 3 files changed +34
-3
lines changed
3 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 3
3
import * as React from "react"
4
4
import { DropdownMenuTriggerProps } from "@radix-ui/react-dropdown-menu"
5
5
import { CheckIcon , ClipboardIcon } from "lucide-react"
6
- import { NpmCommands } from "types /unist"
6
+ import { NpmCommands } from "@/type /unist"
7
7
8
8
import { Event , trackEvent } from "@/lib/events"
9
9
import { cn } from "@/lib/utils"
10
- import { Button , ButtonProps } from "@/registry/new-york /ui/button"
10
+ import { Button , ButtonProps } from "@/components /ui/button"
11
11
import {
12
12
DropdownMenu ,
13
13
DropdownMenuContent ,
14
14
DropdownMenuItem ,
15
15
DropdownMenuTrigger ,
16
- } from "@/registry/new-york /ui/dropdown-menu"
16
+ } from "@/components /ui/dropdown-menu"
17
17
18
18
interface CopyButtonProps extends ButtonProps {
19
19
value : string
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import { Node } from "unist-builder"
2
+
3
+ export interface UnistNode extends Node {
4
+ type : string
5
+ name ?: string
6
+ tagName ?: string
7
+ value ?: string
8
+ properties ?: {
9
+ __rawString__ ?: string
10
+ __className__ ?: string
11
+ __event__ ?: string
12
+ [ key : string ] : unknown
13
+ } & NpmCommands
14
+ attributes ?: {
15
+ name : string
16
+ value : unknown
17
+ type ?: string
18
+ } [ ]
19
+ children ?: UnistNode [ ]
20
+ }
21
+
22
+ export interface UnistTree extends Node {
23
+ children : UnistNode [ ]
24
+ }
25
+
26
+ export interface NpmCommands {
27
+ __npmCommand__ ?: string
28
+ __yarnCommand__ ?: string
29
+ __pnpmCommand__ ?: string
30
+ __bunCommand__ ?: string
31
+ }
You can’t perform that action at this time.
0 commit comments