UNPKG

@trycourier/courier-ui-core

Version:

The core UI kit for Courier Web Components

26 lines (25 loc) 811 B
import { CourierFactoryElement } from './courier-element'; import { CourierButtonProps } from './courier-button'; import { SystemThemeMode } from '../utils/system-theme-mode'; export type CourierInfoStateProps = { title?: { text?: string; textColor?: string; fontSize?: string; fontWeight?: string; fontFamily?: string; }; button: CourierButtonProps; }; export declare class CourierInfoState extends CourierFactoryElement { static get id(): string; private _props; private _title?; private _button?; private _style?; constructor(props: CourierInfoStateProps); defaultElement(): HTMLElement; protected onSystemThemeChange(_: SystemThemeMode): void; private getStyles; updateStyles(props: CourierInfoStateProps): void; }