mirror of
https://github.com/stashapp/stash.git
synced 2025-12-09 09:53:40 +01:00
* Add page registration * Add example plugin * First version of proper react plugins * Make reference react plugin * Add patching functions * Add tools link poc * NavItem poc * Add loading hook for lazily loaded components * Add documentation
7 lines
266 B
TypeScript
7 lines
266 B
TypeScript
import React from "react";
|
|
import { PatchFunction } from "./pluginApi";
|
|
|
|
export const PluginRoutes: React.FC<React.PropsWithChildren<{}>> =
|
|
PatchFunction("PluginRoutes", (props: React.PropsWithChildren<{}>) => {
|
|
return <>{props.children}</>;
|
|
}) as React.FC;
|