import { jsx as _jsx } from "react/jsx-runtime";
import { FolderItem } from "./folder-item.js";
const meta = {
    title: "Connect/Components/FolderItem",
    component: FolderItem,
};
export default meta;
export const ReadMode = {
    render: function Wrapper() {
        const folderNode = {
            id: "1",
            name: "Folder 1",
            kind: "folder",
            parentFolder: "1",
        };
        const folderNodes = Array.from({ length: 5 }).map((_, index) => ({
            ...folderNode,
            id: `folder-${index}`,
            name: `Folder ${index} lorem ipsum dolor sit amet consectetur adipiscing elit`,
        }));
        return (_jsx("div", { className: "flex flex-wrap gap-2", children: folderNodes.map((node) => (_jsx(FolderItem, { folderNode: node }, node.id))) }));
    },
};
export const NotAllowedToCreateDocuments = {
    ...ReadMode,
    args: {
        ...ReadMode.args,
        isAllowedToCreateDocuments: false,
    },
};
//# sourceMappingURL=folder-item.stories.js.map