UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

19 lines (18 loc) 726 B
import type { BadgeAPI, BadgeStates, ButtonProps, KoliBriIconsProp, LabelPropType, PropColor, Stringified } from '../../schema'; import type { JSX } from '../../stencil-public-runtime'; export declare class KolBadge implements BadgeAPI { private bgColorStr; private colorStr; private readonly id; private renderSmartButton; render(): JSX.Element; _color?: Stringified<PropColor>; _icons?: Stringified<KoliBriIconsProp>; _label: LabelPropType; _smartButton?: Stringified<ButtonProps>; state: BadgeStates; private handleColorChange; validateColor(value?: Stringified<PropColor>): void; validateSmartButton(value?: ButtonProps | string): void; componentWillLoad(): void; }