initial commit
This commit is contained in:
12
components/ui/input.jsx
Normal file
12
components/ui/input.jsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from "react";
|
||||
|
||||
export const Input = React.forwardRef(({ className = "", ...props }, ref) => {
|
||||
return (
|
||||
<input
|
||||
ref={ref}
|
||||
className={`px-3 py-2 rounded-md border w-full focus:outline-none focus:ring ${className}`}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
});
|
||||
Input.displayName = "Input";
|
||||
Reference in New Issue
Block a user