React components for aframe primitives for aframe-react.
npm install aframe-react-components![Build Status][travis]
![Build Status][npm]
Provides light sugar around [aframe-react's] component. Instead of passing in a primitive attribute to an , you can just use an [aframe-react-component] component.
``js
import { Entity } from 'aframe-react';
`
With [aframe-react-components], just use the component directly:
`js
import { Box } from 'aframe-react-components';
`
See [aframe-react-boilerplate] for general usage of [aframe-react]. See [src/components.js][components] for supported components.
Ensure you have peer dependencies installed from [aframe-react].
``
npm install --save aframe aframe-react react react-dom aframe-react-components
```
npm test
May possibly tie in [React PropTypes][proptypes] to components for aid in development.
MIT License, Copyright (c) 2016 Jordan Santell
[aframe-react]: https://www.npmjs.com/package/aframe-react
[aframe-react-component]: https://www.npmjs.com/package/aframe-react-component
[aframe-react-boilerplate]: https://github.com/ngokevin/aframe-react-boilerplate
[proptypes]: https://facebook.github.io/react/docs/react-component.html#proptypes
[travis]: https://travis-ci.org/jsantell/aframe-react-components
[npm]: https://www.npmjs.org/package/aframe-react-components
[components]: https://github.com/jsantell/aframe-react-components/blob/master/src/components.js