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) 536 B
import React from "react"; import IsometricPlaneStyles from "../../styles/IsometricPlaneStyles"; const IsometricPlane = ({ width, height, color, children, border, edge, shadow, position, animation, shadowAnimation, rotate, className, }) => (React.createElement(IsometricPlaneStyles, { width: width, height: height, color: color, border: border, edge: edge, shadow: shadow, position: position, animation: animation, shadowAnimation: shadowAnimation, rotate: rotate, className: className }, children)); export default IsometricPlane;