0.1.14 • Published 6 years ago

react-policy-reader v0.1.14

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

react-policy-reader

A simple lightweight React policy reader

Installation

npm install react-policy-reader --save

Usage

import React from 'react';
import PolicyReader from 'react-policy-reader';

export default class TCPolicyPage extends React.PureComponent {

  sections = [
    {
      heading: "Section A",
      content: [
        "My first paragraph for secion A",
        "My Second paragraph for section A",
      ]
    },
    {
      heading: "Section B",
      content: [
        "My first paragraph for secion B",
        "My Second paragraph for section B",
      ]
    }
  ]

  render() {
    return <PolicyReader sections={sections} />
  }
}

Demo Images

alt text

alt text

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago