import React, { useRef, forwardRef } from 'react'; import Dropdown from 'components/Dropdown'; import { faCaretDown } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { IconAdjustmentsHorizontal } from '@tabler/icons'; import StyledWrapper from './StyledWrapper'; const EnvironmentSelector = () => { const dropdownTippyRef = useRef(); const Icon = forwardRef((props, ref) => { return (
No Environment
); }); const onDropdownCreate = (ref) => dropdownTippyRef.current = ref; return (
} placement='bottom-end'>
{ dropdownTippyRef.current.hide(); }}> QA1
{ dropdownTippyRef.current.hide(); }}> STG
{ dropdownTippyRef.current.hide(); }}> No Environment
{ dropdownTippyRef.current.hide(); }}>
Settings
); }; export default EnvironmentSelector;