@digitransit-component/digitransit-component-favourite-editing-modal

2.0.2 • Public • Published

@digitransit-component/digitransit-component-favourite-editing-modal

handleClose

Required. Close modal.

Type: function

updateFavourites

Required.

Type: function

deleteFavourite

Required.

Type: function

onEditSelected

Required. Function that takes selected favourite object as parameter.

Type: function

favourites

Required.

Type: array<object>

Properties


This module is part of the Digitransit-ui project. It is maintained in the HSLdevcom/digitransit-ui repository, where you can create PRs and issues.

Installation

Install this module individually:

$ npm install @digitransit-component/digitransit-component-favourite-editing-modal

Or install the digitransit-component module that includes it as a class:

$ npm install @digitransit-component/digitransit-component

Package Sidebar

Install

npm i @digitransit-component/digitransit-component-favourite-editing-modal

Weekly Downloads

41

Version

2.0.2

License

(AGPL-3.0 OR EUPL-1.2)

Unpacked Size

587 kB

Total Files

6

Last publish

Collaborators

  • digitransit