Package Exports
- react-seo-component
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-seo-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-seo-component
Dependencies
Presumes you already have the following installed:
prop-typesreactreact-helmet
Props
| Prop | Use |
|---|---|
| title | Site title |
| description | Page description |
| pathname | Page URL |
| article | article |
| image | image |
| siteLanguage | defaults to 'en' |
| siteLocale | defaults to 'en_gb' |
| twitterUsername | can be empty |
| author | can be empty |
| datePublished | default to current date |
| dateModified | default to current date |
Thanks
Thanks to @LekoArts for the initial components detailed in his Gatsby Prismic starter.
Resources
https://medium.com/recraftrelic/building-a-react-component-as-a-npm-module-18308d4ccde9
https://github.com/recraftrelic/dummy-react-npm-module/blob/master/package.json