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) • 828 B
JavaScript
;
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 IsometricPlaneStyles_1 = __importDefault(require("../../styles/IsometricPlaneStyles"));
const IsometricPlane = ({ width, height, color, children, border, edge, shadow, position, animation, shadowAnimation, rotate, className, }) => (react_1.default.createElement(IsometricPlaneStyles_1.default, { width: width, height: height, color: color, border: border, edge: edge, shadow: shadow, position: position, animation: animation, shadowAnimation: shadowAnimation, rotate: rotate, className: className }, children));
exports.default = IsometricPlane;