UNPKG

@ark-ui/solid

Version:

A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.

9 lines (6 loc) 403 B
import { ListCollection, TreeCollection, filePathToTree } from '@zag-js/collection'; // src/components/collection.ts var createListCollection = (options) => new ListCollection(options); var createTreeCollection = (options) => new TreeCollection(options); var createFileTreeCollection = (paths) => filePathToTree(paths); export { createFileTreeCollection, createListCollection, createTreeCollection };