extractify.zip/composables/states.ts

4 lines
159 B
TypeScript
Raw Permalink Normal View History

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