New Layout
This commit is contained in:
15
geradoresfe/src/components/ui/Input.tsx
Normal file
15
geradoresfe/src/components/ui/Input.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from "react";
|
||||
|
||||
type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
|
||||
|
||||
export function Input({ className = "", ...props }: InputProps) {
|
||||
return (
|
||||
<input
|
||||
className={
|
||||
"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 " +
|
||||
className
|
||||
}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user