apple2js/js/components/hooks/usePrefs.ts
Will Scullin 4a188a9a5c
Preact UI (#106)
First pass at a Preact UI, still short some major features but full proof of concept.
2022-05-10 06:52:06 -07:00

8 lines
141 B
TypeScript

import Prefs from 'js/prefs';
// Todo(whscullin): More robust preferences
const prefs = new Prefs();
export const usePrefs = () => prefs;