/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/icon` displays an icon from the Salesforce Lightning Design System or a custom image. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-icon/documentation|Lightning Icon Documentation} */ declare module "lightning/icon" { import { LightningElement } from "lwc"; /** * Displays an icon from SLDS or a custom image. */ export default class LightningIcon extends LightningElement { alternativeText: string; src?: string; iconName?: string; size: "xx-small" | "x-small" | "small" | "medium" | "large"; variant?: "bare" | "error" | "inverse" | "warning" | "success"; } }