mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-29 16:04:54 +00:00
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4.5) <aider@aider.chat>
15 lines
399 B
TypeScript
15 lines
399 B
TypeScript
import { ComponentProps, forwardRef } from "react"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export const Input = forwardRef<HTMLInputElement, ComponentProps<"input">>(
|
|
({ className, type = "text", ...props }, ref) => (
|
|
<input
|
|
ref={ref}
|
|
type={type}
|
|
className={cn("mat-mdc-input-element", "mdc-text-field__input", className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
)
|
|
Input.displayName = "Input"
|