initial setup
This commit is contained in:
parent
9e3f3cf46b
commit
2ec83e2ccb
10 changed files with 172 additions and 26 deletions
13
src/features/file/index.tsx
Normal file
13
src/features/file/index.tsx
Normal 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 = () => {
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue