@activecollab/components
Version:
ActiveCollab Components
26 lines (25 loc) • 1.72 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.StyledExpandSingle = exports.StyledExpand = void 0;
var _styledComponents = _interopRequireWildcard(require("styled-components"));
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var StyledExpand = exports.StyledExpand = _styledComponents.default.svg.withConfig({
displayName: "Styles__StyledExpand",
componentId: "sc-zjpl2-0"
})(["", ""], {
"height": "1.5rem",
"width": "1.5rem",
"fill": "currentColor"
});
StyledExpand.displayName = "StyledExpand";
var StyledExpandSingle = exports.StyledExpandSingle = (0, _styledComponents.default)(StyledExpand).withConfig({
displayName: "Styles__StyledExpandSingle",
componentId: "sc-zjpl2-1"
})(["", ""], function (props) {
return !props.$expanded && (0, _styledComponents.css)(["transform:rotate(180deg);"]);
});
StyledExpandSingle.displayName = "StyledExpandSingle";
//# sourceMappingURL=Styles.js.map