Files
factorio-clusterio/packages/web_ui/src/components/PluginsContext.jsx
T
Hornwitser 3a3a7597bf Add PluginsContext to web_ui
Add a React context to access the plugins loaded in the web interface.
The info, /api/plugins metadata and webpack container is provided for
each plugin.
2021-03-01 15:03:25 +01:00

4 lines
66 B
React

import React from "react";
export default React.createContext();