@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
16 lines (15 loc) • 793 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
import type { KoliBriHorizontalIconsProp, KoliBriIconsProp, KoliBriIconsState } from '../types';
import type { Stringified } from '../types/common';
import type { WatchOptions } from '../utils';
export type IconsPropType = Stringified<KoliBriIconsProp>;
export type IconsHorizontalPropType = Stringified<KoliBriHorizontalIconsProp>;
export type PropIcons = {
icons: IconsPropType;
};
export type PropHorizontalIcons = {
icons: IconsHorizontalPropType;
};
export declare const mapIconProp2State: (icon: KoliBriIconsProp) => KoliBriIconsState;
export declare const isIcon: (value?: unknown) => boolean;
export declare const validateIcons: (component: Generic.Element.Component, value?: IconsPropType, options?: WatchOptions) => void;