[Date Picker] DatePicker.Context doesn't exist
h8570rg opened this issue · comments
Tetsuo Hirota commented
Description
When implemented as shown in the example, DatePicker.Context does not exist.
Link to Reproduction (or Detailed Explanation)
https://codesandbox.io/p/devbox/optimistic-cohen-xnw3gf?file=%2Fsrc%2FApp.tsx%3A9%2C52
Steps to Reproduce
- Go to the CodeSandbox
Ark UI Version
2.2.3
Framework
- React
- Solid
- Vue
Browser
Google Chrome
Additional Information
No response
Christian Schröter commented
Thanks for taking your time to create this issue. The docs already show the upcoming v3
version of the DatePicker
.
For now just fallback to render prop in the the DatePicker.View
part.
<DatePicker.View view="month">
{(api) => ()}
</DatePickerView>
We will aim to release v3
shortly and already have an idea to keep docs and development in sync.
Tetsuo Hirota commented
Thank you for your response. I'm looking forward to v3!