wix / react-native-ui-lib

UI Components Library for React Native

Home Page:https://wix.github.io/react-native-ui-lib/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Resolve "moment" Module in DateTimePickerScreen(ExpoDemo)

abdulbasithqb opened this issue · comments

Description

The issue is related to the "moment" module not being resolved in the DateTimePickerScreen component.

Related to

  • Components
  • Demo
  • Docs
  • Typings

Steps to reproduce

  1. Navigate to the expoDemo folder in your React Native project.
  2. Look for the import statement for "moment."
  3. Observe the error related to the "moment" module not being resolved.

Expected behavior

The "moment" module should be successfully resolved and imported in the DateTimePickerScreen component.

Actual behavior

An error is thrown, indicating that the "moment" module could not be resolved in the DateTimePickerScreen component.

More Info

simulator_screenshot_624C5371-D737-4A89-8B92-0F9772505F07

Code snippet