extractify.zip/composables/states.ts

4 lines
159 B
TypeScript
Raw Normal View History

import { FilesManager } from "./files-manager";
let selectedPath = ref("/")
export const useSelectedPath = () => useState("selected-path", () => selectedPath)