mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 22:47:15 +01:00
more funky commits
This commit is contained in:
23
components/rangeSelect.js
Normal file
23
components/rangeSelect.js
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user