Skip to content
UI Widget to lookup or create licenses
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LicenseSearch
icons
translations/ui-plugin-find-license
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Jenkinsfile
LICENSE
README.md
index.js
package.json

README.md

ui-plugin-find-license

Copyright (C) 2017-2019 The Open Library Foundation

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 find-license, which can be included in Stripes modules by means of a <Pluggable type="find-license"> element. See the Plugins section of the Module Developer's Guide.

Props

Name Type Description Required
onLicenseSelected func: (license) => {} Callback fired when a user clicks a license Yes
dataKey string Optional dataKey passed to stripes/connect when creating the connected Licenses component.
renderTrigger func: ({ triggerId, onClick }) => {} Optional render function for the button to open the License search modal. The onClick prop should be called when the trigger is clicked (assuming it is a Button).

Additional information

Other modules.

See project UIPFV at the FOLIO issue tracker.

Other FOLIO Developer documentation is at dev.folio.org

You can’t perform that action at this time.