Socket
Socket
Sign inDemoInstall

aframe-react-components

Package Overview
Dependencies
3
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aframe-react-components

React components for aframe primitives for aframe-react.


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Install size
10.2 kB
Created
Weekly downloads
 

Readme

Source

aframe-react-components

Build Status Build Status

Provides light sugar around [aframe-react's] <Entity /> component. Instead of passing in a primitive attribute to an <Entity />, you can just use an aframe-react-component component.

import { Entity } from 'aframe-react';

<Entity primitive='a-box' width='5' />

With [aframe-react-components], just use the component directly:

import { Box } from 'aframe-react-components';

<Box width='5' />

Usage

See aframe-react-boilerplate for general usage of aframe-react. See src/components.js for supported components.

Installation

Ensure you have peer dependencies installed from aframe-react.

npm install --save aframe aframe-react react react-dom aframe-react-components

Test

npm test

Future Work

May possibly tie in React PropTypes to components for aid in development.

License

MIT License, Copyright (c) 2016 Jordan Santell

Keywords

FAQs

Last updated on 28 Dec 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc