/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/tab` keeps related content in a single container. The tab content displays when a user clicks the tab. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-tab/documentation |Lightning Tab Documentation} */ declare module "lightning/tab" { import { LightningElement } from "lwc"; /** * Keeps related content in a single container. The tab content displays when a user clicks the tab. */ export default class LightningTab extends LightningElement { /** The optional string to identify which tab was clicked during the tab's active event. */ value: string; /** The text displayed in the tab header. */ label: string; /** Specifies text that displays in a tooltip over the tab content. */ title: string; /** * The Lightning Design System name of an icon to display at the beginning of the tab label. * Specify the name in the format 'utility:down' where 'utility' is the category, and * 'down' is the icon to be displayed. Only utility icons can be used. */ iconName: string; /** The alternative text for the icon specified by icon-name. */ iconAssistiveText: string; /** * The Lightning Design System name of an icon to display at the end of the tab label. * Specify the name in the format 'utility:check' where 'utility' is the category, and * 'check' is the icon to be displayed. */ endIconName: string; /** The alternative text for the icon specified by end-icon-name. */ endIconAlternativeText: string; /** * Specifies whether there's an error in the tab content. * An error icon is displayed to the right of the tab label. */ showErrorIndicator: boolean; } }