import React, { forwardRef, Ref } from "react"; // types interface Props extends React.InputHTMLAttributes { mode?: "primary" | "transparent" | "trueTransparent"; error?: boolean; inputSize?: "rg" | "lg"; fullWidth?: boolean; } export const Input = forwardRef((props: Props, ref: Ref) => { const { mode = "primary", error, className = "", type, fullWidth = true, id, inputSize = "rg", ...rest } = props; return ( ); }); Input.displayName = "Input"; export default Input;