react-cube3d-component
v1.0.8
Published
React cube-3d UI component
Downloads
4
Maintainers
Readme
React cube3d UI component
Zero dependency
Touch support
Install
npm install --save react-cube3d-component
Usage
import React from 'react';
import Cube from 'react-cube3d-component';
function App() {
return (
<Cube cubeSize='300px' viewportSize='500px'>
<div>Front</div>
<div>Back</div>
<div>Right</div>
<div>Left</div>
<div>Top</div>
<div>Bottom</div>
</Cube>
);
}