mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
show booking date range on admin booking page
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useContext } from 'react'
|
||||
import React from 'react'
|
||||
import classnames from 'classnames'
|
||||
import {
|
||||
isPast,
|
||||
@@ -94,6 +94,7 @@ export default function PlainCalendar({
|
||||
<div className={className}>
|
||||
<h2 className="text-xl">Belegungsplan</h2>
|
||||
<Calendar
|
||||
activeStartDate={startDate}
|
||||
minDate={new Date()}
|
||||
// @ts-ignore
|
||||
onClickDay={(date: Date, event: React.MouseEvent<HTMLInputElement>) => {
|
||||
|
||||
Reference in New Issue
Block a user