UNPKG

@ark-ui/solid

Version:

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

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