mirror of
https://github.com/GithubOrgProjectPiza/frontend.git
synced 2026-09-04 08:36:08 +02:00
added registrierung in mobile view and finished anmeldepage in mobile view
30 lines
654 B
React
30 lines
654 B
React
import React, { useState } from "react";
|
|
|
|
function Eingabefeld(props) {
|
|
const [usepollName, setPollName] = useState("");
|
|
return (
|
|
<div class="pb-2">
|
|
<br />
|
|
<input
|
|
className="form-control
|
|
border-radius: 5px
|
|
block
|
|
w-full
|
|
h-35
|
|
p-5
|
|
px-3
|
|
py-1.5
|
|
text-base
|
|
font-normal
|
|
border border-solid border-gray-300
|
|
rounded"
|
|
onChange={(e) => setPollName(e.target.value)}
|
|
value={usepollName}
|
|
placeholder={props.placeholder}
|
|
type={props.isPassword ? "password" : "text"}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|
|
export default Eingabefeld;
|