@cfxlabsinc/b2b-services
    Preparing search index...
    type FileBrowserProps = {
        downloadHref: (entry: FileEntry) => string;
        emptyLabel: string;
        entries: readonly FileEntry[];
        fileHref?: (entry: FileEntry) => string;
        folder: string;
        folderHref: (path: string) => string;
        folders: readonly Pick<FileEntry, "folder" | "name">[];
        hasNext: boolean;
        listHref: (list: { page: number; sort: FileSort }) => string;
        loadPreview: (entry: FileEntry) => Promise<FilePreviewResult>;
        page: number;
        pageSize: number;
        renderEmbed?: (entry: FileEntry) => ReactNode;
        rootLabel: string;
        sort: FileSort;
        title?: string;
        total: number;
        unnamedUpdaterLabel: string;
        write?: FileBrowserWrite;
    }
    Index
    downloadHref: (entry: FileEntry) => string
    emptyLabel: string

    The empty folder's one sentence, for someone who can only read.

    entries: readonly FileEntry[]

    This page of the current folder, in the order to show.

    fileHref?: (entry: FileEntry) => string

    A file's own page: "Open full page", and where a modified click on its row goes.

    folder: string

    The current folder's path; "" is the root.

    folderHref: (path: string) => string
    folders: readonly Pick<FileEntry, "folder" | "name">[]

    Every folder, for the tree.

    hasNext: boolean
    listHref: (list: { page: number; sort: FileSort }) => string

    The current folder at another sort or page.

    loadPreview: (entry: FileEntry) => Promise<FilePreviewResult>
    page: number

    1-based.

    pageSize: number
    renderEmbed?: (entry: FileEntry) => ReactNode

    Renders a PDF, image or Word file in the sheet; without it those get the download sentence.

    rootLabel: string

    What the root folder is called, e.g. "Documents".

    sort: FileSort
    title?: string

    The page's title; with it the browser renders the page header and its actions.

    total: number

    Every entry in the folder, across all pages.

    unnamedUpdaterLabel: string

    Shown for a file nobody is named on.

    Absent for a read-only user: no write control is rendered.