UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

10 lines (9 loc) 446 B
import type { ReactNode } from "react"; import type { FileElementProps } from "../../util/element.js"; import { type AbsolutePath } from "../../util/path.js"; interface FileCardProps extends FileElementProps { path: AbsolutePath; } /** Card renderer for a `tree-file` element — a summary card showing the heading and description. */ export declare function FileCard({ path, name, title, description }: FileCardProps): ReactNode; export {};