@activecollab/components
Version:
ActiveCollab Components
25 lines (24 loc) • 1.54 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.StyledExpandSingle = exports.StyledExpand = void 0;
var _styledComponents = _interopRequireWildcard(require("styled-components"));
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
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