stash/pkg/plugin/examples/react-component
WithoutPants 49060e6686
UI nested instead (#5125)
* Support multiple calls to PluginApi.patch.instead for a component.

Allow calling the original/chained function from the hook function.

* Add example of new usage of instead
* Update documentation
2024-08-20 12:36:45 +10:00
..
src UI nested instead (#5125) 2024-08-20 12:36:45 +10:00
package.json UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00
README.md UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00
tsconfig.json UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00
yarn.lock UI Plugin API (#4256) 2023-11-28 13:06:44 +11:00

This is a reference React component plugin. It replaces the details part of scene cards with a list of performers and tags.

To build:

  • run yarn install --frozen-lockfile
  • run yarn run build

This will copy the plugin files into the dist directory. These files can be copied to a plugins directory.