UNPKG

@public-ui/components

Version:

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

19 lines (18 loc) 860 B
import { type FunctionalComponent as FC } from '../../stencil-public-runtime'; import type { JSXBase } from '../../stencil-public-runtime'; import type { HeadingLevel } from '../../schema'; type HGroupProps = JSXBase.HTMLAttributes<HTMLElement>; type BaseProps = JSXBase.HTMLAttributes<HTMLHeadingElement | HTMLElement> & { level?: HeadingLevel; }; type HeadlineProps = BaseProps; type SecondaryHeadlineProps = JSXBase.HTMLAttributes<HTMLParagraphElement>; export type HeadingProps = HeadlineProps & { secondaryHeadline?: string; HeadingGroupProps?: HGroupProps; SecondaryHeadlineProps?: SecondaryHeadlineProps; }; type HeadlineTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'strong'; export declare function getHeadlineTag(level: HeadingLevel | number): HeadlineTag; declare const KolHeadingFc: FC<HeadingProps>; export default KolHeadingFc;