npm.io
0.1.0 • Published 10 years ago

camel-components

Licence
MIT
Version
0.1.0
Deps
2
Vulns
0
Weekly
0

camel-components

Standalone React Components

Simple React components without additional dependencies.

Example page

https://musemind.github.io/camel-components/

Repository

https://github.com/musemind/camel-components/ Contributions are very welcome!

Use it:
  • Install npm package
npm install camel-components --save
Changelog:
0.1.0

Breaking Change:

Simplification: If you want to update an existing element, use styleUpdate as an object, not a boolean. Don't use styleUpdate and style in one element object.

New:

scenes={[
  {name: 'scene name', frames: 10, elements: {
    bar: {styleUpdate: {left: '30px'}}
  }}
}]

Deprecated:

scenes={[
  {name: 'scene name', frames: 10, elements: {
    bar: {styleUpdate: true, style: {left: '30px'}}
  }}
}]

Keywords