@djsp/atomic-block

0.1.5 • Public • Published

@djsp/atomic-block

file size NPM JavaScript Style Guide

Installation

@djsp/atomic-block depends on @djsp/utils which must also be installed.

npm install --save @djsp/utils @djsp/atomic-block
# or alternately
yarn add @djsp/utils @djsp/atomic-block

Usage

<EditorContainer>
  <Editor />

  <AtomicBlock type="IMAGE">
    {(props) => <Image {...props} />}
  </AtomicBlock>

  <AtomicBlock type="VIDEO">
    {(props) => <Video {...props} />}
  </AtomicBlock>
</EditorContainer>

Examples

Dependents (0)

Package Sidebar

Install

npm i @djsp/atomic-block

Weekly Downloads

9

Version

0.1.5

License

MIT

Unpacked Size

26 kB

Total Files

4

Last publish

Collaborators

  • juliankrispel