Socket
Socket
Sign inDemoInstall

react-article-components

Package Overview
Dependencies
116
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-article-components

Article Components for Rendering Article Page of The Reporter Site in Taiwan


Version published
Weekly downloads
2
Maintainers
1
Install size
30.7 MB
Created
Weekly downloads
 

Readme

Source

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}
    />
  )

FAQs

Last updated on 19 Jul 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc