bs-next-seo

1.0.1 • Public • Published

bs-next-seo

Introduction

Bucklescript + ReasonReact binding for next-seo component.

** See bs-ant-design repo for original credit on this pattern. **

Installation

npm install --save bs-next-seo
  • Add bs-next-seo to bs-dependencies in bsconfig.json.

Usage

<NextSeo title="something" />

Attributes

    title
    description
    canonical
    ogType
    ogLocale
    ogUrl
    ogTitle
    ogDescription
    ogDefaultImageWidth
    ogDefaultImageHeight
    ogImages
    ogSiteName
    twitterHandle
    twitterSite
    twitterCardType

Notes

I couldn't quite figure out how to bind a config prop in a type safe way. If you want to support a config prop, look at the commented out source and feel free to push a fix.

Contributions

All contributions are welcomed. I intend to merge and release anything you push quickly.

LICENSE

MIT

Package Sidebar

Install

npm i bs-next-seo

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

6.25 kB

Total Files

5

Last publish

Collaborators

  • enalmada