Version 2

This commit is contained in:
mbaharip
2024-04-06 22:09:03 +07:00
parent 3be80bc9fb
commit 4c0ba8288a
99 changed files with 5381 additions and 2342 deletions
+8 -9
View File
@@ -1,6 +1,5 @@
import * as React from "react"
import { cn } from "~/utils"
import * as React from "react";
import { cn } from "~/utils";
export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {}
@@ -12,14 +11,14 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
type={type}
className={cn(
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
className
className,
)}
ref={ref}
{...props}
/>
)
}
)
Input.displayName = "Input"
);
},
);
Input.displayName = "Input";
export { Input }
export { Input };