UNPKG

@public-ui/components

Version:

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

9 lines (8 loc) 432 B
import type { Generic } from 'adopted-style-sheets'; export declare const alertTypeOptions: readonly ["default", "info", "success", "warning", "error"]; export type AlertType = (typeof alertTypeOptions)[number]; export type AlertTypePropType = AlertType; export type PropAlertType = { type: AlertTypePropType; }; export declare const validateAlertType: (component: Generic.Element.Component, value?: AlertTypePropType) => void;