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

How to use without Ts #8

Closed
iNeoO opened this issue Oct 9, 2020 · 0 comments
Closed

How to use without Ts #8

iNeoO opened this issue Oct 9, 2020 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@iNeoO
Copy link
Owner

iNeoO commented Oct 9, 2020

https://codesandbox.io/s/festive-engelbart-8d8pb

You will just have to generate slots like you would do in Ts

in this case slots looks like that

[{
  "date": "2020-10-09T00:00:00.000Z",
  "slots": [{
    "date": "2020-10-09T08:30:00.000Z"
  }, {
    "date": "2020-10-09T09:00:00.000Z"
  }]
}, {
  "date": "2020-10-12T00:00:00.000Z",
  "slots": [{
    "date": "2020-10-12T06:00:00.000Z"
  }, {
    "date": "2020-10-12T06:30:00.000Z"
  }]
}]

you can provide any additional params in slots.

@iNeoO iNeoO added documentation Improvements or additions to documentation question Further information is requested labels Oct 9, 2020
@iNeoO iNeoO self-assigned this Oct 9, 2020
@iNeoO iNeoO closed this as completed Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant