import { Launch16, Store16 } from "@carbon/icons-react"; import classNames from "classnames"; import { useRef } from "react"; import { utilService } from "core/services/common-services/util-service"; import "./SwitcherPanel.scss"; const SwitcherPanel = (props: any) => { const { handleCloseRightBar } = props; const ref: any = useRef(); utilService.useClickOutside(ref, handleCloseRightBar); return (