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

Date-time-picker #45

Merged
merged 8 commits into from
Apr 11, 2024
Merged

Conversation

gaurangrshah
Copy link
Collaborator

adds a datetime picker using timescape.

@gaurangrshah
Copy link
Collaborator Author

gaurangrshah commented Apr 10, 2024

https://linear.app/shadcn-extension/issue/SHA-32/headless-time
Kapture 2024-04-09 at 22 07 53

Implements a datetime picker component using the headless library: timescape. Currently the implementation is working, but need a strategy to make the component re-usable.

@gaurangrshah gaurangrshah marked this pull request as draft April 10, 2024 05:45
@gaurangrshah
Copy link
Collaborator Author

So i didn't push this for review because I am trying to solve the issue of how to pass an onChange handler into a client component if it is being exported from the file.

Here's a similar error just for the record.

I know there's a pattern I've used recently for this, but I think it involves client / server relationships between these components. I'm gonna take a look again today with fresh eyes and see what I come up with.

@gaurangrshah
Copy link
Collaborator Author

Kapture 2024-04-10 at 21 04 50

Updates docs and adds form example using react-hook-fom

@gaurangrshah gaurangrshah marked this pull request as ready for review April 11, 2024 01:05
@BelkacemYerfa BelkacemYerfa merged commit 234d8ab into BelkacemYerfa:dev Apr 11, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants