blob: 6bcceb7e45daba76dfd7504ec1191b19df7a6b12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import React from "react";
type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
export default function InputText(props: InputProps) {
return (
<input
{...props}
className="p-2 block w-full border border-sky-600 rounded-md transition duration-300 focus:ring-3 focus:ring-sky-400 focus:outline-hidden"
/>
);
}
|