more funky commits

This commit is contained in:
Thomas Ruoff
2020-06-30 00:44:35 +02:00
parent 788ae303e7
commit 96c62e3e9f
8 changed files with 208 additions and 119 deletions

23
components/rangeSelect.js Normal file
View File

@@ -0,0 +1,23 @@
export default function RangeSelect({ multipleDays, setMultipleDays }) {
return (
<div>
Ich will das Bussle für
<input
type="radio"
id="single"
name="days"
value="singleDay"
onChange={() => setMultipleDays(false)}
/>
<label htmlFor="single">einen Tag</label>
<input
type="radio"
id="multiple"
name="days"
value="multipleDays"
onChange={() => setMultipleDays(true)}
/>
<label htmlFor="multiple">mehrere Tage</label> mieten
</div>
)
}