aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/InputText.tsx
blob: ed6820653d2ae525df3fecb02cb93cfc2bc28257 (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 focus:ring-sky-400 focus:outline-none"
		/>
	);
}