@nethesis/phone-island
Version:
NethVoice CTI Phone Island
3 lines (2 loc) • 1.22 kB
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");require("../../node_modules/react-redux/es/index.js");var r=require("../../styles/Island.styles.js");require("../../node_modules/@babel/runtime/helpers/defineProperty.js"),require("../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),require("../../node_modules/@babel/runtime/helpers/typeof.js"),require("../../node_modules/html-parse-stringify/dist/html-parse-stringify.js"),require("../../node_modules/react-i18next/dist/es/context.js");var t=require("../../node_modules/react-i18next/dist/es/useTranslation.js");require("../../node_modules/@babel/runtime/helpers/slicedToArray.js");var s=require("../../node_modules/react-redux/es/hooks/useSelector.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=u(e);exports.default=function(){var e=s.useSelector((function(e){return e.currentCall})).number,u=s.useSelector((function(e){return e.island})).isOpen,o=t.useTranslation().t;return n.default.createElement(r.StyledNumber,{isOpen:u,className:"dark:pi-text-gray-50 pi-text-gray-600"},e&&"<unknown>"!==e?e:o("Call.In progress...")||"-")};
//# sourceMappingURL=Number.js.map