UNPKG

@public-ui/components

Version:

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

12 lines (11 loc) 656 B
/*! * KoliBri - The accessible HTML-Standard */ import { watchValidator } from "../utils"; export const validateTableCallbacks = (component, value) => { watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['TableCallbacksPropType {Events.onSort, Events.onSelectionChange, Events.onChangeHeaderCells}']), value); }; export const validateTableStatefulCallbacks = (component, value) => { watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['TableStatefulCallbacksPropType {Events.onSelectionChange}']), value); }; //# sourceMappingURL=table-callbacks.js.map