This package has been deprecated

Author message:

Use twreporter-react for instead

react-article-components

0.1.15 • Public • Published

What is this?

TW Reporter Article Page React Components Package

Why do we this?

This is built for Editorial Tool (you can build the editorial tool using Plate). In our editorial tool, We hope to make our Editor tool WYSIWYG. Hence, these Article React Components will be used on Article Page and Editorial Tool.

How to build this?

  // build the js and css
  // js and css will be built in ./lib/ 
  npm run build
  npm login
  // upgrade version
  npm version patch
  npm publish

How to install this?

  npm i react-article-components --save

How to use this?

// es5
var Components = require('react-article-components/lib/main');

// es6
import * as Components from 'react-article-components/lib/main'

// a piece of code in React Component render function
  return (
    <Components.Introduction
      data={introData}
    />
  )

Readme

Keywords

none

Package Sidebar

Install

npm i react-article-components

Weekly Downloads

2

Version

0.1.15

License

MIT

Last publish

Collaborators