Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jojo-search

jojo57164ISC1.1.1

Simple react.js component for a search input

reactjs, webpack, npm, eslint, es6, search, web, component

readme

Build Status

Component rendered

alt tag

Installation

npm install jojo-search --save

Usage

import React from 'react';
import ReactDOM from 'react-dom';

import Search from 'jojo-search';


const props = {
    placeholder: 'Search...',
    submit: (value) => {
        console.log(value);
    }
};

ReactDOM.render(
    <Search {...props}/>,
    document.getElementById('content'),
);

changelog

1.1.1 (2019-03-27)

Bug Fixes

1.1.0 (2019-03-27)

Chores
  • focus: Addign onFocus and onBlur events (b70fc999)
Bug Fixes
  • deploy: Fix deploy template (11025c6f)

1.0.1 (2019-03-27)

Chores
  • test: Adding travis yml to execute test and lint on remote push (2da99970)
  • component: Fixing props and test (46ccade5)
Bug Fixes
Refactors
  • template:
    • Refactoring search template jsx (5b072e68)
    • Refactoring search template jsx (a57d8d6b)

1.0.5 (2019-03-23)

1.0.4 (2019-03-23)

1.0.3 (2019-03-23)

1.0.2 (2019-03-23)

1.0.1 (2019-03-23)

Chores
  • hello: Adding Hello world class to show message (dfa85af5)
  • configuration: Creating folder structure (1641f7d9)
Other Changes

1.0.1 (2019-03-23)

Chores
  • hello: Adding Hello world class to show message (dfa85af5)
  • configuration: Creating folder structure (1641f7d9)
Other Changes