import { Skeleton } from '#/components/atoms/skeleton.jsx'; import { ListBox } from '#/components/molecules/list-box.jsx'; import { Markdown } from '#/components/molecules/markdown.jsx'; /** * What a directory says about itself, in a panel of its own under the file * panel: the file's name on the panel's header, the rendered document * below it. The document keeps a reading measure whatever the panel's * width. * @param {{name: string, text?: string, repo: string, refName: string, basePath: string, space?: string, className?: string}} props */ export function ReadmePanel({ name, text, repo, refName, basePath, space, className, }) { return (

{name}

{text ? (
) : ( )}
); }