All files / frontend/src/components/ui input.tsx

46.66% Statements 7/15
100% Branches 0/0
100% Functions 0/0
46.66% Lines 7/15

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 201x 1x 1x   1x 1x                   1x 1x      
import * as React from "react"
import { cn } from "@/lib/utils"
import "./input.css"
 
const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>(
  ({ className, type, ...props }, ref) => {
    return (
      <input
        type={type}
        className={cn("ui-input", className)}
        ref={ref}
        {...props}
      />
    )
  }
)
Input.displayName = "Input"
 
export { Input }