initial setup

This commit is contained in:
Chris Kruining 2024-09-24 16:55:36 +02:00
parent 9e3f3cf46b
commit 2ec83e2ccb
10 changed files with 172 additions and 26 deletions

View file

@ -0,0 +1,13 @@
import { createContext, useContext } from "solid-js";
const FilesContext = createContext();
export const FilesProvider = (props) => {
return <FilesContext.Provider value={undefined}>{props.children}</FilesContext.Provider>;
}
export const useFiles = () => useContext(FilesContext);
export const open = () => {
};