"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.SkeletonCardByImagePlacement = SkeletonCardByImagePlacement;
var _SkeletonSideImageCard = require("./SkeletonSideImageCard");
var _SkeletonTopImageCard = require("./SkeletonTopImageCard");
var _react = _interopRequireDefault(require("react"));
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/SkeletonGrid/SkeletonCardByImagePlacement.tsx";
function SkeletonCardByImagePlacement(props) {
  const {
    state
  } = props;
  const {
    imagePlacement
  } = state;
  return imagePlacement === 'side' ? /*#__PURE__*/_react.default.createElement(_SkeletonSideImageCard.SkeletonSideImageCard, {
    state: state,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 18,
      columnNumber: 5
    }
  }) : /*#__PURE__*/_react.default.createElement(_SkeletonTopImageCard.SkeletonTopImageCard, {
    state: state,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 20,
      columnNumber: 5
    }
  });
}
//# sourceMappingURL=SkeletonCardByImagePlacement.js.map