nes-block-tableofcontents

1.0.0 • Public • Published

nes-block-tableofcontents

This is a table of contents block for the never-ending-story application

Installation

To install this block, you need to run:

yarn add nes-block-nes-block-tableofcontents

Then, go to src/blocks.js and import+export your block:

// STANDARD BLOCKS //
... 

// CUSTOM BLOCKS //
import TableOfContents from 'nes-block-tableofcontents';

// EXPORT LIST //
export default {
  ...
  TableOfContents
}

Now your block should be available for use!

Usage

In your src/assets/json/parcel.json file, you will want to add a block with the following formatting:

{
    "id":1,
    "type":"TableOfContents",
    "details":
    {
        "text":"Before you begin Unit 1, please click on the \"Unit 1 Reflection Guide\" link below to download/print a note-taking sheet."
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i nes-block-tableofcontents

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

290 kB

Total Files

7

Last publish

Collaborators

  • osuecampus