@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
26 lines (25 loc) • 915 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
import type { AnyIconFontClass, Stringified } from '../types';
export type InputCheckboxIconsProp = {
checked: AnyIconFontClass;
indeterminate?: AnyIconFontClass;
unchecked?: AnyIconFontClass;
} | {
checked?: AnyIconFontClass;
indeterminate: AnyIconFontClass;
unchecked?: AnyIconFontClass;
} | {
checked?: AnyIconFontClass;
indeterminate?: AnyIconFontClass;
unchecked: AnyIconFontClass;
};
export type InputCheckboxIconsState = {
checked: AnyIconFontClass;
indeterminate: AnyIconFontClass;
unchecked: AnyIconFontClass;
};
export type InputCheckboxIconsPropType = Stringified<InputCheckboxIconsProp>;
export type PropIconsInputCheckbox = {
icons: InputCheckboxIconsPropType;
};
export declare const validateIconsInputCheckbox: (component: Generic.Element.Component, value?: InputCheckboxIconsPropType) => void;