@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
9 lines (8 loc) • 393 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { createPropDefinition } from "./helpers/factory";
import { normalizeInteger } from "./helpers/normalizers";
export const headingLevelOptions = [0, 1, 2, 3, 4, 5, 6];
export const levelProp = createPropDefinition('level', 0, (value) => normalizeInteger(value), (v) => headingLevelOptions.includes(v));
//# sourceMappingURL=level.js.map