mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-19 08:15:28 -04:00
do react types more better too 🧠
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
|
||||
import * as LabelPrimitive from "@radix-ui/react-label";
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
const Label = ({ className, ...rest }: ComponentPropsWithoutRef<typeof LabelPrimitive.Root>) => {
|
||||
const Label = ({ className, ...rest }: React.ComponentProps<typeof LabelPrimitive.Root>) => {
|
||||
return (
|
||||
<LabelPrimitive.Root
|
||||
data-slot="label"
|
||||
|
||||
Reference in New Issue
Block a user