@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
9 lines (8 loc) • 420 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
import type { ButtonProps, LinkProps } from '../../schema';
export type ToolbarItemPropType = ButtonProps | LinkProps;
export type ToolbarItemsPropType = ToolbarItemPropType[];
export type PropToolbarItems = {
items: ToolbarItemsPropType;
};
export declare const validateToolbarItems: (component: Generic.Element.Component, value?: ToolbarItemsPropType) => void;