lrojas94/react-timeslot-calendar

here some list are not working

Opened this issue · 0 comments

as per your demo reference. https://lrojas94.github.io/react-timeslot-calendar/
package Documentation demo code also not mention about with this example

i am using react 16

 <ReactTimeslotCalendar
      initialDate={moment().format()}
      
      timeslots = { [
        ['12:00:00' ],
        ['10'],
        ['18:00'],
        ['18:15', '18:30'],
    ] }
    maxTimeslots ={[1]}
   ignoreWeekends = {
    ['sundays']
  }  
    disabledTimeslots = {[
    {
        startDate: 'April 30th 2020, 12:00:00 AM',
        format: 'MMMM Do YYYY, h:mm:ss A',
    },
    {
        startDate: 'May 1st 2020, 10:00:00 PM',
        format: 'MMMM Do YYYY, h:mm:ss A',
    },
    {
        startDate: 'May 5th 2017, 6:00:00 PM',
        format: 'MMMM Do YYYY, h:mm:ss A',
    },
]}
    />

list of not working
time slote display :

<div class="tsc-day"><div class="tsc-day__title"><span>Wednesday (26)</span></div><div class="tsc-timeslot tsc-timeslot--selected">12:00 PM</div><div class="tsc-timeslot tsc-timeslot--selected">6:00 PM - 6:00 PM</div><div class="tsc-timeslot">10:00 AM</div><div class="tsc-timeslot tsc-timeslot--selected">6:00 PM</div></div>

Disable slote not wokring