import { InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, forwardRef } from "react";
import { cn } from "@/utils/cn";
// Input Component
export interface InputProps extends InputHTMLAttributes {
error?: boolean;
}
export const Input = forwardRef(
({ className, error, ...props }, ref) => {
return (
);
}
);
Input.displayName = "Input";
// Textarea Component
export interface TextareaProps extends TextareaHTMLAttributes {
error?: boolean;
}
export const Textarea = forwardRef(
({ className, error, ...props }, ref) => {
return (
);
}
);
Textarea.displayName = "Textarea";
// Select Component
export interface SelectProps extends SelectHTMLAttributes {
error?: boolean;
}
export const Select = forwardRef(
({ className, error, children, ...props }, ref) => {
return (
);
}
);
Select.displayName = "Select";