@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
11 lines (10 loc) • 345 B
TypeScript
import type { ComponentKeys, ResourcePrefix } from './core/i18n';
type Options = {
count?: number;
placeholders?: {
[K: string]: string;
};
};
export type TranslationKey = `${Lowercase<ResourcePrefix>}-${Lowercase<ComponentKeys>}`;
export declare let translate: (key: TranslationKey, options?: Options) => string;
export {};