@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
9 lines (8 loc) • 411 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { watchValidator } from "../utils";
export const validateButtonCallbacks = (component, value) => {
watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['ButtonCallbacksPropType {Events.onClick, Events.onMouseDown, Events.onFocus, Events.onBlur}']), value);
};
//# sourceMappingURL=button-callbacks.js.map