import React from "react" import { useState } from "react" import { useOpenDirQuery } from "../generated/graphql" import Breadcrum from "./Breadcrum" import FileBrowserElement from "./FileBrowserElement" import FileOpen from "./FileOpen" const FileBrowser: React.FC = () => { const [path,setPath] = useState("/") const [openFileId, setOpenFileId] = useState("") const [showFile, setShowFile] = useState(false) const { data } = useOpenDirQuery({ variables:{ path } }) return (
Name | Size |
---|