@selenite/commons
Version:
This typescript package provides a set of frequently used utilities, types and svelte actions for building projects with Typescript and Svelte.
13 lines (12 loc) • 432 B
TypeScript
import type { HTMLAttributes, HTMLButtonAttributes } from 'svelte/elements';
interface Props extends HTMLAttributes<HTMLUListElement> {
tags?: string[];
knownTags?: string[];
popupBg?: string;
tagProps?: HTMLButtonAttributes;
tagBadge?: string;
addTagProps?: HTMLButtonAttributes;
}
declare const Tags: import("svelte").Component<Props, {}, "tags">;
type Tags = ReturnType<typeof Tags>;
export default Tags;