import React from 'react'; import { IconFiles, IconRun } from '@tabler/icons'; import EnvironmentSelector from 'components/Environments/EnvironmentSelector'; import VariablesView from 'components/VariablesView'; import { useDispatch } from 'react-redux'; import { toggleRunnerView } from 'providers/ReduxStore/slices/collections'; import StyledWrapper from './StyledWrapper'; const CollectionToolBar = ({ collection }) => { const dispatch = useDispatch(); const handleRun = () => { dispatch( toggleRunnerView({ collectionUid: collection.uid }) ); }; return (
{collection.name}
); }; export default CollectionToolBar;