netlify-cms-editor-component-pill

1.1.1 • Public • Published

netlify-cms-editor-component-pill

This package provide a Pill component for Netlify CMS editor widget ready to drop in your Netlify CMS projects. Pills reperesent an attribute or inform users about the status of an object.


Installation

Run the following command using npm:

npm install netlify-cms-editor-component-pill gatsby-remark-pills --save
 

Requirements

  1. Gatsby version >=2.17.15
  2. Gatsby Transformer Remark Plugin >=2.6.36

---

## Usage

Add to your CMS.js inside Netlify CMS project

```js
import pill from 'netlify-cms-editor-component-pill';

CMS.registerEditorComponent(pill);

Configuration

// In your gatsby-config.js
plugins: [
  `gatsby-plugin-sharp`,
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [
        {
          resolve: `gatsby-remark-pills`
        }
      ]
    }
  }
];

Package Sidebar

Install

npm i netlify-cms-editor-component-pill

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

13.2 kB

Total Files

5

Last publish

Collaborators

  • aayushiagrawal