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

How to import into react native #87

Closed
quantuminformation opened this issue Jan 19, 2017 · 3 comments
Closed

How to import into react native #87

quantuminformation opened this issue Jan 19, 2017 · 3 comments
Assignees

Comments

@quantuminformation
Copy link

I am trying this in a react native project:

import CronParser from 'cron-parser'

but when running CronParser is undefined.

@harrisiirak
Copy link
Owner

@quantuminformation did you try:

import { parseExpression } from 'cron-parser';

@quantuminformation
Copy link
Author

yep that worked thx!

@quantuminformation
Copy link
Author

Hmm, the issue started popping up again, I'm not sure if it's a pure RN thing now..

image

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