import React from 'react'; import { IconVariable, IconSettings, IconRun } from '@tabler/icons'; const SpecialTab = ({ handleCloseClick, type }) => { const getTabInfo = (type) => { switch (type) { case 'collection-settings': { return ( <> Collection ); } case 'variables': { return ( <> Variables ); } case 'collection-runner': { return ( <> Runner ); } } }; return ( <>
{getTabInfo(type)}
handleCloseClick(e)}>
); }; export default SpecialTab;