1.0.10 • Published 3 years ago
@ptfs-europe/plugin-cla-permissions-check v1.0.10
ui-plugin-cla-permissions-check
Copyright (C) 2021 PTFS Europe
This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.
Introduction
This package furnishes a single Stripes plugin of type copyright-permissions-checker, which can be included in Stripes modules by means of a element. See the Plugins section of the Module Developer's Guide.
Props
The following props can be passed to the Pluggable
component. They will be passed through to this plugin.
prop | type | description |
---|---|---|
toggle | Function | Function called upon closing the modal. Typically this will be used to toggle the state of the open prop |
open | boolean | When true, this plugin will render the modal. |
identifier | Object: { type: 'ISBN', value: '3836563444' } | An object containing the identifier type and value to be used when querying the copyright permissions API. |
renderTrigger | Function: ({ menuText }) => <YourButton /> | A render-function that is passed a props object and returns JSX. Used to customize the text of a trigger to open the modal. |
Additional information
Other modules.
Other FOLIO Developer documentation is at dev.folio.org