apple2js/js/components/OptionsContext.tsx
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
203 B
TypeScript

import { createContext } from 'preact';
import { Options } from '../options';
/**
* Context for getting, setting and configuring options
*/
export const OptionsContext = createContext(new Options());