UNPKG

@trycourier/courier-ui-core

Version:

The core UI kit for Courier Web Components

22 lines (21 loc) 866 B
import { CourierBaseElement } from './courier-base-element'; export declare class CourierIconButton extends CourierBaseElement { static get id(): string; private _backgroundColor?; private _hoverBackgroundColor?; private _activeBackgroundColor?; private _borderRadius?; private _height?; private _width?; private _style; private _button; private _icon; constructor(svg?: string, color?: string, backgroundColor?: string, hoverBackgroundColor?: string, activeBackgroundColor?: string, borderRadius?: string, height?: string, width?: string); private refresh; private getStyles; updateIconColor(color: string): void; updateIconSVG(svg: string): void; updateBackgroundColor(color: string): void; updateHoverBackgroundColor(color: string): void; updateActiveBackgroundColor(color: string): void; }