"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "withSkeleton", {
    enumerable: true,
    get: function() {
        return withSkeleton;
    }
});
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
var _styledcomponents = /*#__PURE__*/ _interop_require_default(require("styled-components"));
var _mixins = require("../mixins");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var withSkeleton = function withSkeleton(Component) {
    return (0, _styledcomponents.default)(Component).withConfig({
        displayName: "withSkeleton",
        componentId: "sc-764f817c-0"
    })([
        "",
        ""
    ], function(param) {
        var skeleton = param.skeleton;
        return skeleton && (0, _mixins.applySkeletonGradient)({
            lighter: true
        });
    });
};
