aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/InputText.tsx
blob: 3f2c526afe8929c7f619fb421e5481bc2dea63aa (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-pink-600 rounded-md transition duration-300 focus:ring focus:ring-pink-400 focus:outline-none"
		/>
	);
}