UNPKG

@beamimpact/web-sdk

Version:

The Beam SDK enables brands to connect with their customers over shared values, not transactional discounts, to build stronger loyalty. Our integration achieves this by allowing customers to (a) choose a nonprofit where the brand will donate part of their

28 lines (26 loc) 860 B
import * as lit_html from 'lit-html'; import { LitElement } from 'lit'; import { L as LANGUAGES } from './types-DfRc36jU.esm.js'; declare class BeamShareButton extends LitElement { shareIcon: string | null; imageUrl?: string | null; brandName: string | null; buttonText?: string | null; configLang: LANGUAGES; baseUrl: string; nonprofitId?: number | null; storeId?: number | null; transactionId?: number | null; apiKey: string; connectedCallback(): void; handleShareClick(): Promise<void>; handleShareDialog(imageUrl: string, brandName: string): Promise<void>; openSystemShareSheet(imageUrl: string): Promise<void>; disconnectedCallback(): void; render(): lit_html.TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "beam-share-button": BeamShareButton; } }