import type TabContainer from "./TabContainer.js";
import DropIndicator from "./DropIndicator.js";
import Button from "./Button.js";
import TabContainerPopoverTemplate from "./TabContainerPopoverTemplate.js";
import type Tab from "./Tab.js";
function contentArea(this: TabContainer) {
return (
{this.items.map(item =>
)}
);
}
const defaultPartials = {
contentArea,
};
export default function TabContainerTemplate(this: TabContainer, injectedPartials?: Partial) {
const partials = {
...defaultPartials,
...injectedPartials,
};
return (<>
{this.tabsAtTheBottom && partials.contentArea.call(this)}
{!this.tabsAtTheBottom && partials.contentArea.call(this)}
{this.hasItems &&
{this.accInvisibleText}
}
{ TabContainerPopoverTemplate.call(this) }
>);
}