@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
11 lines (10 loc) • 463 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
import type { Events } from '../enums';
import type { EventCallback } from '../types/callbacks';
export type PopoverCallbacksPropType = {
[Events.onClose]?: EventCallback<MouseEvent | KeyboardEvent>;
};
export type PropPopoverCallbacks = {
on: PopoverCallbacksPropType;
};
export declare const validatePopoverCallbacks: (component: Generic.Element.Component, value?: PopoverCallbacksPropType) => void;