shelving
Version:
Toolkit for using data in JavaScript.
10 lines (9 loc) • 476 B
TypeScript
import type { ReactNode } from "react";
import type { DirectoryElementProps } from "../../util/element.js";
import { type AbsolutePath } from "../../util/path.js";
interface DirectoryCardProps extends DirectoryElementProps {
path: AbsolutePath;
}
/** Card renderer for a `tree-directory` element — a summary card showing the heading and description. */
export declare function DirectoryCard({ path, name, title, description }: DirectoryCardProps): ReactNode;
export {};