diff --git a/src/shared/Input.tsx b/src/shared/Input.tsx new file mode 100644 index 0000000..e70525e --- /dev/null +++ b/src/shared/Input.tsx @@ -0,0 +1,34 @@ +import React, { InputHTMLAttributes } from "react"; + +export interface InputProps extends InputHTMLAttributes { + sizeClass?: string; + fontClass?: string; + rounded?: string; +} + +// eslint-disable-next-line react/display-name +const Input = React.forwardRef( + ( + { + className = "", + sizeClass = "h-11 px-4 py-3", + fontClass = "text-sm font-normal", + rounded = "rounded-2xl", + children, + type = "text", + ...args + }, + ref + ) => { + return ( + + ); + } +); + +export default Input;