UNPKG

@limetech/lime-elements

Version:
11 lines 448 B
import { Tab } from './tab.types'; /** * Set a tabs `active` state to true in a list of tabs. The previous tab with * `active` set to true will have it set to `false` instead. * * @param tabs - list of tabs * @param index - the index of the tab to set to active * @returns a copy of the list of tabs with the changed tabs replaced */ export declare function setActiveTab(tabs: Tab[], index: number): Tab[]; //# sourceMappingURL=tabs.d.ts.map