@ptfs-europe/plugin-cla-permissions-check

1.0.10 • Public • Published

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.

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ptfs-europe/plugin-cla-permissions-check

Weekly Downloads

1

Version

1.0.10

License

Apache-2.0

Unpacked Size

79.3 kB

Total Files

74

Last publish

Collaborators

  • andrewish