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

TypeError: Cannot read property 'useMemo' of null #15

Closed
MakiychukYaroslav opened this issue Oct 25, 2023 · 4 comments
Closed

TypeError: Cannot read property 'useMemo' of null #15

MakiychukYaroslav opened this issue Oct 25, 2023 · 4 comments

Comments

@MakiychukYaroslav
Copy link

import { TimerPicker } from 'react-native-timer-picker';
...
  <TimerPicker
          padWithNItems={2}
          hourLabel=":"
          minuteLabel=":"
          secondLabel=""
          styles={{
            theme: 'dark',
            backgroundColor: '#202020',
            pickerItem: {
              fontSize: 34,
            },
            pickerLabel: {
              fontSize: 32,
              marginTop: 0,
            },
            pickerContainer: {
              marginRight: 6,
            },
          }}
        />

packages:
"react": "17.0.2",
"react-native": "0.67.3",
"react-native-timer-picker": "^1.2.7",

image
@MakiychukYaroslav
Copy link
Author

An error occurred while trying to add a component to the project @troberts-28
Could you please help with this?

@troberts-28
Copy link
Owner

Hi @MakiychukYaroslav, I'll take a look. Are you using Expo or raw React Native?

@MakiychukYaroslav
Copy link
Author

MakiychukYaroslav commented Oct 25, 2023

Bare React-Native, Thanks

@troberts-28
Copy link
Owner

Hi @MakiychukYaroslav!

This should be fixed for you in the latest version (v1.2.10) 🙌

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

2 participants