nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.47k stars 1.4k forks source link

Module '"@nextui-org/react"' has no exported member 'DatePicker' getting error when try to import #2816

Closed Gauravdeshmukh42 closed 5 months ago

Gauravdeshmukh42 commented 5 months ago

NextUI Version

2.3.5

Describe the bug

Module '"@nextui-org/react"' has no exported member 'DatePicker' after install date picker then try to import getting that error

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

import { DatePicker } from '@nextui-org/react'; // this line getting error Module '"@nextui-org/react"' has no exported member 'DatePicker'

<DatePicker label={label} variant='bordered' hideTimeZone showMonthAndYearPickers defaultValue={now(getLocalTimeZone())} // Cannot find name 'getLocalTimeZone'. />

Expected behavior

resolve that correct import functionality

Screenshots or Videos

image

Operating System Version

windows 11

Browser

Chrome

linear[bot] commented 5 months ago

ENG-691 Module '"@nextui-org/react"' has no exported member 'DatePicker' getting error when try to import

neghilovvio commented 5 months ago

i got the same problem but i'm not able to access the shared link