@digitransit-component/digitransit-component-suggestion-item
v2.0.5
Published
digitransit-component suggestion-item module
Downloads
85
Maintainers
Readme
@digitransit-component/digitransit-component-suggestion-item
SuggestionItem
SuggestionItem renders suggestions for digitransit-autosuggest component.
Examples
<SuggestionItem
item={suggestionObject}
content={['Pysäkki', 'Kuusitie', 'Helsinki', 'H1923']}
loading={false}
/>
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-suggestion-item
Or install the digitransit-component module that includes it as a class:
$ npm install @digitransit-component/digitransit-component