From dad03e3be5b0a7c1159e0207cce11540ca830359 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 3 Jan 2022 17:21:18 +0100 Subject: feat(filter): add option to filter by subdirectory (#190) --- util/variablesContext.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 util/variablesContext.tsx (limited to 'util') diff --git a/util/variablesContext.tsx b/util/variablesContext.tsx new file mode 100644 index 0000000..5fd34b8 --- /dev/null +++ b/util/variablesContext.tsx @@ -0,0 +1,12 @@ +import { createContext } from 'react' +import { EmacsVariables } from '../pages' + +type Theme = [name: string, themeObject: { [color: string]: string }] + +const VariablesContext = createContext({ + subDirs: ['dailies', '.attach'], + attachDir: '.attach', + roamDir: '~/org', + dailyDir: 'dailies', +}) +export { VariablesContext } -- cgit v1.2.3