UNPKG

@public-ui/components

Version:

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

13 lines (12 loc) 629 B
import type { Generic } from 'adopted-style-sheets'; declare const horizontalAlignOptions: readonly ["left", "right"]; type HorizontalAlign = (typeof horizontalAlignOptions)[number]; declare const verticalAlignOptions: readonly ["top", "bottom"]; type VerticalAlign = (typeof verticalAlignOptions)[number]; export declare const alignPropTypeOptions: readonly ["left", "right", "top", "bottom"]; export type AlignPropType = HorizontalAlign | VerticalAlign; export type PropAlign = { align: AlignPropType; }; export declare const validateAlign: (component: Generic.Element.Component, value?: AlignPropType) => void; export {};