import { nothing } from "lit";
import { shouldDisplayOnCurrentTab } from "../../../utils/tab-utils.js";
const renderTabWrapper = ({ props })=>(children)=>{
        const { tabsIncluded, tabsExcluded, activeTab } = props;
        if (!shouldDisplayOnCurrentTab([
            ...tabsIncluded
        ], [
            ...tabsExcluded
        ], activeTab)) return nothing;
        return children;
    };
export { renderTabWrapper };
