svelte-ux
Version:
A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.
30 lines (29 loc) • 941 B
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
element?: string | undefined;
scrollContainer?: ((Window & typeof globalThis) | null) | undefined;
scrollOffset?: number | undefined;
maxDepth?: number | undefined;
icon?: string | undefined;
class?: string | undefined | undefined;
};
events: {
nodeClick: TreeNode;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
node: any;
activeHeadingId: string;
};
};
};
export type TableOfContentsProps = typeof __propDef.props;
export type TableOfContentsEvents = typeof __propDef.events;
export type TableOfContentsSlots = typeof __propDef.slots;
export default class TableOfContents extends SvelteComponentTyped<TableOfContentsProps, TableOfContentsEvents, TableOfContentsSlots> {
}
export {};