@ark-ui/solid
Version:
A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.
7 lines (4 loc) • 384 B
TypeScript
import { TreeCollection, FilePathTreeNode, TreeNode, TreeCollectionOptions } from '@zag-js/collection';
declare const createTreeCollection: <T extends TreeNode>(options: TreeCollectionOptions<T>) => TreeCollection<T>;
declare const createFileTreeCollection: (paths: string[]) => TreeCollection<FilePathTreeNode>;
export { createTreeCollection as a, createFileTreeCollection as c };