forked from ADORSYS-GIS/e2e-banking-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpinInput.tsx
33 lines (28 loc) · 1.39 KB
/
pinInput.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const PinInput: React.FC = () => {
return (
<div className="flex justify-center items-center mb-34 bg-800 text-black text-sm">
<div className="">
<div className="flex rounded-lg w-80 m-auto px-4 py-2 text-lg absolute inset-x-0 top-4 bg-gray-100">
<div>
<h1 className="text-lg text-center text-red-400 pb-5">Notice!!!</h1>
<p className="text-sm text-center text-black-400 pb-4">By entering you PIN below, you confirm that the sum of of FCFA100.50 be sent to Mr Stephane</p>
</div>
</div>
<div className="input-area">
<form className="max-w-sm mx-auto flex rounded-lg w-80 m-auto text-lg absolute inset-x-0">
<input type="password"maxLength={4} id="number-input" className="text-lg text-center rounded-full w-80 p-2.5 bg-red-50 dark:placeholder-gray-400 dark:text-black" placeholder="Enter PIN" required />
</form>
</div>
<div className="pt-12">
<button className="rounded-full w-80 m-auto px-4 py-2 my-16 text-white bg-red-600 hover:border-red-950 text-lg absolute inset-x-0 bottom-12">
Cancel
</button>
<button className="rounded-full w-80 m-auto px-4 py-2 text-white bg-blue-950 text-lg absolute inset-x-0 bottom-12">
Confirm
</button>
</div>
</div>
</div>
);
};
export default PinInput;