jojo-search
v1.1.1
Published
Simple react.js component for a search input
Downloads
4
Maintainers
Readme
Component rendered
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'),
);