@cn-ui/core
Version:
The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.
10 lines (9 loc) • 504 B
TypeScript
import { type ExplorerAPI, type JSXSlot, useFileExplorer } from "@cn-ui/reactive";
import { type Accessor, type JSXElement } from "solid-js";
export declare const FileExplorer: <T extends {
name: string;
}>(props: import("@cn-ui/reactive").OriginComponentOutputType<{
explorerModel: ExplorerAPI<T>;
children: (item: T, context: ReturnType<typeof useFileExplorer<T>>, index: Accessor<number>) => JSXElement;
emptyView?: JSXSlot;
}, HTMLElement, string>) => import("solid-js").JSX.Element;