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

Issue with meta prop #21

Open
arsicdejan96 opened this issue Feb 1, 2022 · 1 comment
Open

Issue with meta prop #21

arsicdejan96 opened this issue Feb 1, 2022 · 1 comment

Comments

@arsicdejan96
Copy link

Hello, thank you for effort you are putting in this package.
I have a problem using meta prop, in README.md you said "meta: Array of key value objects for meta tags (e.g property, content)", but I'm not sure how to use it.
"meta={[{ metaDesc: "DESCRIPTION" }, { metaKeywords: ["KEYWORD"] }]}" - this doesn't work.

@dongepulango
Copy link

For anyone coming here that have the same issue:

meta={[{
  name: `description`,
  content: metaDescription,
},]}

This should be in the README

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