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.
27 lines (26 loc) • 778 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { TreeNode } from '@layerstack/utils/array';
declare const __propDef: {
props: {
[x: string]: any;
nodes: TreeNode[];
classes?: {
ul?: string | ((nodes: TreeNode[]) => string);
li?: string | ((node: TreeNode) => string);
} | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
node: any;
};
};
};
export type TreeListProps = typeof __propDef.props;
export type TreeListEvents = typeof __propDef.events;
export type TreeListSlots = typeof __propDef.slots;
export default class TreeList extends SvelteComponentTyped<TreeListProps, TreeListEvents, TreeListSlots> {
}
export {};