UNPKG

@public-ui/components

Version:

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

11 lines (10 loc) 493 B
import type { Generic } from 'adopted-style-sheets'; import type { Events } from '../enums'; import type { EventValueOrEventCallback } from '../types/callbacks'; export type DetailsCallbacksPropType<T> = { [Events.onToggle]?: EventValueOrEventCallback<MouseEvent, T>; }; export type PropDetailsCallbacks<T> = { on: DetailsCallbacksPropType<T>; }; export declare const validateDetailsCallbacks: (component: Generic.Element.Component, value?: DetailsCallbacksPropType<boolean>) => void;