UNPKG

@public-ui/components

Version:

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

17 lines (16 loc) 695 B
import type { Generic } from 'adopted-style-sheets'; import type { PropLabel } from '../props'; import type { Stringified } from '../types'; import type { LinkProps } from './link'; type RequiredProps = { links: Stringified<LinkProps[]>; } & PropLabel; type OptionalProps = NonNullable<unknown>; type RequiredStates = { links: LinkProps[]; } & PropLabel; type OptionalStates = OptionalProps; export type SkipNavProps = Generic.Element.Members<RequiredProps, OptionalProps>; export type SkipNavStates = Generic.Element.Members<RequiredStates, OptionalStates>; export type SkipNavAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>; export {};