UNPKG

@paydock/client-sdk

Version:

Paydock client sdk

20 lines 619 B
declare enum ItemInfoTextType { Primary = "pd-item-primary-text", Secondary = "pd-item-secondary-text" } type ItemInfoBlockOptions = { id?: string; image?: HTMLElement; primaryText: string; secondaryText?: string; styles?: Partial<CSSStyleDeclaration>; }; declare global { interface Window { itemInfoBlockStylesAdded: boolean; } } export declare function createItemInfoBlock(options: ItemInfoBlockOptions): HTMLDivElement; export declare function createItemText(text: string, type: ItemInfoTextType): HTMLSpanElement; export {}; //# sourceMappingURL=item-info-blocks.d.ts.map