You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

aframe-react-components

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-react-components

React components for aframe primitives for aframe-react.

0.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
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

aframe

FAQs

Package last updated on 28 Dec 2016

Did you know?

Socket

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