Ethan Niserformatting0cd1a642 years agoHistory
26 lines · 596 B · TypeScript
RawDownload
import * as React from "react"; import { cn } from "@/lib/utils"; // eslint-disable-next-lineexport interface InputProps  extends React.InputHTMLAttributes<HTMLInputElement> {} const Input = React.forwardRef<HTMLInputElement, InputProps>(  ({ className, type, ...props }, ref) => {    return (      <input        type={type}        className={cn(          "flex h-9 w-full border border-gray-500 bg-transparent px-3 py-1 text-sm outline-none",          className,        )}        ref={ref}        {...props}      />    );  },);Input.displayName = "Input"; export { Input };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t