UNPKG

isometric-react

Version:

Isometric styling library made in React with as much flexibility over customization as possible. Rewrite of https://morgancaron.github.io/IsometricSass/ .

5 lines (4 loc) 534 B
import React from "react"; import IsometricCubeStyles from "../../styles/IsometricCubeStyles"; const IsometricCube = ({ width, height, depth, color, children, border, shadow, position, animation, shadowAnimation, rotate, className, }) => (React.createElement(IsometricCubeStyles, { width: width, height: height, depth: depth, color: color, border: border, shadow: shadow, position: position, animation: animation, shadowAnimation: shadowAnimation, rotate: rotate, className: className }, children)); export default IsometricCube;