react-cep

0.1.3 • Public • Published

CircleCI NPM version NPM downloads License Issues

react-cep is a React component library for Adobe CEP (Common Extensibility Platform) plugins.

Get Started

npm install --save react-cep
import { render } from 'react-dom'
import SystemContainer from 'react-cep/SystemContainer'
import SystemState from 'react-cep/SystemState'
 
const systemState = new SystemState()
const root = document.getElementById('root')
const load = () => render((
  <SystemContainer systemState={systemState} errorEvent={'plugin.error'} theme={{}}>
    <p>Foobar!</p>
  </SystemContainer>
), root)
 
load()

Note: It is not recommend to import the react-cep root. If you do so, it will return nothing as the index.js file in the package is used for development purposes. Each component has been packaged separately in order to allow developers to only import what they need.

Features

  • Provides a stable foundation for CEP plugin developers to build on in order to quickly release plugins.
  • Includes several components, documented through the tests for now.

Package Sidebar

Install

npm i react-cep

Weekly Downloads

0

Version

0.1.3

License

ISC

Unpacked Size

457 kB

Total Files

50

Last publish

Collaborators

  • sammarks-code