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:
@@ -1,7 +1,6 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
const Input = ({ className, type, ...props }: ComponentPropsWithoutRef<"input">) => {
|
||||
const Input = ({ className, type, ...props }: React.ComponentProps<"input">) => {
|
||||
return (
|
||||
<input
|
||||
type={type}
|
||||
|
||||
Reference in New Issue
Block a user