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

ForceUI - Issues importing DatePicker component #179

Closed
bsfkaustubh opened this issue Nov 7, 2024 · 1 comment
Closed

ForceUI - Issues importing DatePicker component #179

bsfkaustubh opened this issue Nov 7, 2024 · 1 comment
Assignees

Comments

@bsfkaustubh
Copy link
Contributor

bsfkaustubh commented Nov 7, 2024

Description

I'm trying to import DatePicker in ZipWP which uses Next.js. I'm facing these two issues:

  1. Import suggestions not available
    Directly declaring any component and using import suggestions does not return suggestions for ForceUI - https://d.pr/v/yPBnEY

  2. 'window is not defined' error when importing a component in Next.js
    Tried to import from @bsf/force-ui and it returns the error. https://d.pr/v/yPBnEY 1:33

Step-by-step reproduction instructions

https://d.pr/v/yPBnEY

Expected behaviour

  1. Need import suggestions for good DX
  2. Fix the window is not defined' error when importing component

Actual behaviour

Screenshots or screen recording (optional)

https://d.pr/v/yPBnEY

@vrundakansara
Copy link
Contributor

Fixed in #183

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

3 participants