apple2js/js/components/hooks/usePrefs.ts

8 lines
141 B
TypeScript
Raw Normal View History

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