1.0.10 • Published 3 years ago

@ptfs-europe/plugin-cla-permissions-check v1.0.10

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

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.

Create a build and run tests

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.

proptypedescription
toggleFunctionFunction called upon closing the modal. Typically this will be used to toggle the state of the open prop
openbooleanWhen true, this plugin will render the modal.
identifierObject: { type: 'ISBN', value: '3836563444' }An object containing the identifier type and value to be used when querying the copyright permissions API.
renderTriggerFunction: ({ 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