silphius/app/context/dom-scale.js
2024-07-12 00:00:48 -05:00

10 lines
173 B
JavaScript

import {createContext, useContext} from 'react';
const context = createContext();
export default context;
export function useDomScale() {
return useContext(context);
}