@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
11 lines (10 loc) • 467 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
import type { Events } from '../enums';
import type { EventValueOrEventCallback } from '../types/callbacks';
export type LinkOnCallbacksPropType = {
[Events.onClick]?: EventValueOrEventCallback<Event, string>;
};
export type PropLinkOnCallbacks = {
on: LinkOnCallbacksPropType;
};
export declare const validateLinkCallbacks: (component: Generic.Element.Component, value?: LinkOnCallbacksPropType) => void;