"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "applyDisabled", {
    enumerable: true,
    get: function() {
        return applyDisabled;
    }
});
var _styledcomponents = require("styled-components");
var disabledCss = (0, _styledcomponents.css)([
    "opacity:0.4;cursor:not-allowed;&:hover,&:active{transform:none;}"
]);
var applyDisabled = function applyDisabled(param) {
    var disabled = param.disabled, $disabled = param.$disabled;
    return (0, _styledcomponents.css)([
        "&:disabled{",
        "}",
        ""
    ], disabledCss, (disabled || $disabled) && disabledCss);
};
