20 lines
562 B
XML
20 lines
562 B
XML
// import { type Context, type ParentProps, createContext, useContext } from 'solid-js';
|
|
|
|
// interface BrowserContextType {
|
|
// getMod: (id: string) => void;
|
|
// getMods: (category: string) => void;
|
|
// };
|
|
|
|
// const BrowserContext = createContext() as Context<BrowserContextType>;
|
|
|
|
// export function BrowserContextProvider(props: ParentProps) {
|
|
// return (
|
|
// <BrowserContext.Provider value={}>
|
|
// {props.children}
|
|
// </BrowserContext.Provider>
|
|
// );
|
|
// }
|
|
|
|
// export default function useBrowserController() {
|
|
// return useContext(BrowserContext);
|
|
// }
|