findify-ui-components

0.2.182 • Public • Published

Getting started

Installation

npm install findify-ui-components --save

or

yarn add findify-ui-components

Usage example

import React from 'react';
import ReactDOM from 'react-dom';
 
var props = {
    config: {
        position: 'left',
        i18n: {
            suggestionsTitle: 'Search suggestions',
            productMatchesTitle: 'Product matches',
            tipTitle: 'Press enter to search'
        }
    },
    meta: {
        q: 'test query'
    },
    items: [{
        product_url: '/test',
        title: 'test',
        price: [200],
        thumbnail_url: 'http://placehold.it/100x100',
        compare_at: 150
    }],
    suggestions: [{
        value: 'test suggestion'
    }],
};
 
ReactDOM.render(<Autocomplete {...props} />, document.getElementById('autocomplete'));

Documentation

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.182
    1
    • latest

Version History

Package Sidebar

Install

npm i findify-ui-components

Weekly Downloads

79

Version

0.2.182

License

MIT

Last publish

Collaborators

  • pascalachkar_maropost
  • findify-bot
  • anzecesar1
  • langesven
  • amadeusolsson