0.1.2 • Published 3 years ago

the-react-table v0.1.2

Weekly downloads
17
License
-
Repository
-
Last release
3 years ago

Functionality

Interactive React UI data table component Screenshot -1

Usage (Demo - https://stackblitz.com/edit/react-b7kncf?file=src/App.js)

import  InputSuggestion  from  'inputbox-suggestion/dist';
....
data =["measure", "message", "machine"]
....
getCurrentVal = (curr) => this.setState({val : curr})
....
setValue = (inputVal) => this.setState({text : inputVal})
...
<InputSuggestion inputBoxValue={this.setValue} suggestions={data} />
...
<InputSuggestion  currentInputBoxValue={this.getCurrentVal} inputBoxValue={this.setValue} 
suggestionsStyle={{padding:'5%',borderBottom:'0.5px solid'}}
suggestions={data} />

Props Table

prop namefunctionalityrequired/optional
suggestionsData in form of Array to show suggestion for input*required
inputBoxValueReturn selected value of input boxoptional
currentInputBoxValueReturn the current value of input boxoptional
suggestionsStyleStyles for suggestionsoptional

Installation

npm i inputbox-suggestion

Contributor(s)

Mohit Kapoor -@2cool2envy - kapoormohit01@gmail.com

Let's together make it more better

eMail : kapoormohit01@gmail.com