UNPKG

@public-ui/components

Version:

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

11 lines (10 loc) 467 B
import type { Generic } from 'adopted-style-sheets'; import type { Callback } from '../enums'; import type { EventCallback } from '../types/callbacks'; export type PopoverCallbacksPropType = { [Callback.onClose]?: EventCallback<MouseEvent | KeyboardEvent>; }; export type PropPopoverCallbacks = { on: PopoverCallbacksPropType; }; export declare const validatePopoverCallbacks: (component: Generic.Element.Component, value?: PopoverCallbacksPropType) => void;