Skip to content

Stripes UI plugin: Find a contact

License

Notifications You must be signed in to change notification settings

folio-org/ui-plugin-find-contact

Repository files navigation

ui-plugin-find-contact

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

Props

Name Type Description Required
addContacts func: (contacts) => {} Callback fired when a user clicks Save&Close button in Modal with contacts selected Yes
disabled boolean Flag to control disabled property of plugin's button, since it's rendered inside the plugin No
searchButtonStyle string optional styling of plugin's button No
searchLabel React.node optional jsx for plugin's button label No
renderNewContactBtn func optional function to render button New if necessary No

This is a Stripes UI module to display, filter and select contact persons in ui-organizations app.

Additional information

See the related ui-organizations module. (Consumer)

Other modules.

See project UIORGS at the FOLIO issue tracker.

Other FOLIO Developer documentation is at dev.folio.org