Duffer Derek

Current Path : /var/www/sitesecurity.bitkit.dk/httpdocs/src/components/ui/
Upload File :
Current File : /var/www/sitesecurity.bitkit.dk/httpdocs/src/components/ui/input.tsx

import * as React from "react";

import { cn } from "@/lib/utils";

export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {}

const Input = React.forwardRef<HTMLInputElement, InputProps>(
  ({ className, type, ...props }, ref) => {
    return (
      <input
        type={type}
        className={cn(
          "flex w-full rounded-[5px] border border-[#111111]/15 bg-background px-[11px] py-[7px] text-[12px] text-[#111111] file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-[12px] placeholder:text-[#333] hover:border-[#111111]/22 hover:text-[#666] focus-visible:border-[#111111]/30 disabled:cursor-not-allowed disabled:bg-[#F9FAFB] disabled:text-[#333]",
          className
        )}
        ref={ref}
        {...props}
      />
    );
  }
);
Input.displayName = "Input";

export { Input };

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists