Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pahans committed May 22, 2024
1 parent 9a2368a commit 6f55287
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ui/IMPORTANT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Components located in this directory `src/components/ui` directory are sourced from [Shadcn components](https://ui.shadcn.com/). So I suggest ignoring this directory for assessment purposes.
1 change: 1 addition & 0 deletions src/components/ui/alert-dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

// Adopted Component from https://ui.shadcn.com/
import * as React from "react";
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";

Expand Down
1 change: 1 addition & 0 deletions src/components/ui/button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Adopted Component from https://ui.shadcn.com/
import * as React from "react";
import { Slot } from "@radix-ui/react-slot";
import { type VariantProps, cva } from "class-variance-authority";
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

// Adopted Component from https://ui.shadcn.com/
import * as React from "react";
import * as DialogPrimitive from "@radix-ui/react-dialog";
import { X } from "lucide-react";
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/dropdown-menu.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

// Adopted Component from https://ui.shadcn.com/
import * as React from "react";
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
import { Check, ChevronRight, Circle } from "lucide-react";
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/form.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Adopted Component from https://ui.shadcn.com/
import * as LabelPrimitive from "@radix-ui/react-label";
import { Slot } from "@radix-ui/react-slot";
import * as React from "react";
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/input.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Adopted Component from https://ui.shadcn.com/
import * as React from "react";

import { cn } from "@/lib/utils";
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/label.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

// Adopted Component from https://ui.shadcn.com/
import * as React from "react";
import * as LabelPrimitive from "@radix-ui/react-label";
import { type VariantProps, cva } from "class-variance-authority";
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from "react";
// Adopted Component from https://ui.shadcn.com/
import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";

import { cn } from "@/lib/utils";
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/separator.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

// Adopted Component from https://ui.shadcn.com/
import * as React from "react";
import * as SeparatorPrimitive from "@radix-ui/react-separator";

Expand Down
1 change: 1 addition & 0 deletions src/components/ui/skeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { cn } from "@/lib/utils";

// Adopted Component from https://ui.shadcn.com/
function Skeleton({
className,
...props
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/table.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from "react";

// Adopted Component from https://ui.shadcn.com/
import { cn } from "@/lib/utils";

const Table = React.forwardRef<
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/textarea.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from "react";

// Adopted Component from https://ui.shadcn.com/
import { cn } from "@/lib/utils";

export interface TextareaProps
Expand Down

0 comments on commit 6f55287

Please sign in to comment.