Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    findify-ui-componentspublic

    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

    Keywords

    none

    install

    npm i findify-ui-components

    Downloadsweekly downloads

    352

    version

    0.2.182

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar