react-cep
v0.1.3
Published
React component library for Adobe CEP (Common Extensibility Platform) plugins.
Downloads
40
Maintainers
Readme
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.