mirror of
https://github.com/openshiporg/openship.git
synced 2026-06-19 07:35:55 +00:00
27b0227134
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
454 B
TypeScript
19 lines
454 B
TypeScript
import * as React from "react"
|
|
import { Input } from "@/components/ui/input"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const TextInput = React.forwardRef<HTMLInputElement, React.ComponentProps<typeof Input>>(
|
|
({ className, type = "text", ...props }, ref) => {
|
|
return (
|
|
<Input
|
|
type={type}
|
|
className={cn("", className)}
|
|
ref={ref}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
)
|
|
TextInput.displayName = "TextInput"
|
|
|
|
export { TextInput }
|