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 write import statement #23

Open
tlchatt opened this issue Oct 9, 2019 · 2 comments
Open

How to write import statement #23

tlchatt opened this issue Oct 9, 2019 · 2 comments

Comments

@tlchatt
Copy link

tlchatt commented Oct 9, 2019

Is your feature request related to a problem? Please describe.
Documentation request

Describe the solution you'd like
An example including import statement
Describe alternatives you've considered

Additional context
Getting errors like "Product is not defined" when using the following import statement
import JSONLD from 'react-structured-data'

@Keshav0121
Copy link

you can simply import below line

import { JSONLD, Generic, GenericCollection} from 'react-structured-data';

@crivion
Copy link

crivion commented Nov 18, 2021

put that in the documentation

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