Skip to content

Commit 08edb56

Browse files
committed
fix: update registry types + imports
1 parent f9f18cc commit 08edb56

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

apps/website/src/components/docs/component-preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ComponentProps, ReactNode } from "react";
2-
import type { RegistryComponent } from "@/components/registry/types";
2+
import type { RegistryComponent } from "@/types/registry";
33

44
import { Suspense } from "react";
55
import { createElement, useMemo } from "react";

apps/website/src/components/docs/show-source.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ComponentProps, ReactNode } from "react";
2-
import type { RegistryComponent } from "@/components/registry/types";
2+
import type { RegistryComponent } from "@/types/registry";
33

44
interface ShowSourceProps extends ComponentProps<"div"> {
55
component: RegistryComponent["title"];

apps/website/src/components/registry/build-registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ShadcnRegistry } from "./types";
1+
import type { ShadcnRegistry } from "@/types/registry";
22

33
import chalk from "chalk";
44
import { RegistryData } from "./data";

apps/website/src/components/registry/check-registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RegistryComponent } from "./types";
1+
import type { RegistryComponent } from "@/types/registry";
22

33
import chalk from "chalk";
44
import { RegistryData } from "./data";

apps/website/src/components/registry/data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RegistryComponent } from "@/components/registry/types";
1+
import type { RegistryComponent } from "@/types/registry";
22
import { lazy } from "react";
33

44
// Settings:

apps/website/src/components/registry/get-component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RegistryComponent } from "./types";
1+
import type { RegistryComponent } from "@/types/registry";
22
import { RegistryData } from "./data";
33

44
export const getComponent = (title: string): RegistryComponent | undefined => {
File renamed without changes.

0 commit comments

Comments
 (0)