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/ .

10 lines (9 loc) 826 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const react_1 = __importDefault(require("react")); const IsometricCubeStyles_1 = __importDefault(require("../../styles/IsometricCubeStyles")); const IsometricCube = ({ width, height, depth, color, children, border, shadow, position, animation, shadowAnimation, rotate, className, }) => (react_1.default.createElement(IsometricCubeStyles_1.default, { width: width, height: height, depth: depth, color: color, border: border, shadow: shadow, position: position, animation: animation, shadowAnimation: shadowAnimation, rotate: rotate, className: className }, children)); exports.default = IsometricCube;