stash/pkg/plugin/examples/react-component
WithoutPants 9b7e20351a
Plugin api improvements (#5703)
* Add ReactSelect to PluginApi.libraries
* Make Performer tabs patchable
* Make PerformerCard patchable
* Use registration pattern for HoverPopover, TagLink and LoadingIndicator

Initialising the components map to include these was causing an initialisation error.

* Add showZero property to PopoverCountButton
* Make TagCard patchable
* Make ScenePage and ScenePlayer patchable
* Pass properties to container components
* Add example for scene tabs
* Make FrontPage patchable
* Add FrontPage example
2025-03-05 14:04:12 +11:00
..
src Plugin api improvements (#5703) 2025-03-05 14:04:12 +11: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.