import React, { useRef, forwardRef } from 'react'; import Dropdown from 'components/Dropdown'; import { IconAdjustmentsHorizontal, IconCaretDown } 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;