Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

here some list are not working #39

Open
ersanjay5991 opened this issue Feb 25, 2020 · 0 comments
Open

here some list are not working #39

ersanjay5991 opened this issue Feb 25, 2020 · 0 comments

Comments

@ersanjay5991
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant