UNPKG

capacitor-plugin-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK for Capacitor

46 lines (45 loc) 1.27 kB
import type { DeepPartial } from '../../utils'; import { PartiallyConstructible } from '../../utils'; import { ButtonConfiguration, StyledText } from '../common/Common'; /** Configuration of the the standard alert dialog. */ export declare class ScanbotAlertDialog extends PartiallyConstructible { /** The title displayed above the message. */ title: StyledText; /** The explanation message. */ subtitle: StyledText; /** The background color of the alert dialog. Default is "?sbColorSurface" */ sheetColor: string; /** The dialog overlay color. Default is "?sbColorModalOverlay" */ modalOverlayColor: string; /** The color of the divider line. Default is "?sbColorOutline" */ dividerColor: string; /** Configuration of the 'OK' button. */ okButton: ButtonConfiguration; /** Configuration of the middle button for dialogs with tree buttons. */ actionButton: ButtonConfiguration; /** Configuration of the 'cancel' button. */ cancelButton: ButtonConfiguration; /** @param source {@displayType `DeepPartial<ScanbotAlertDialog>`} */ constructor(source?: DeepPartial<ScanbotAlertDialog>); }