MCPcopy Index your code
hub / github.com/flyfloor/react-component / formatSearchBar

Function formatSearchBar

component/DropDown.js:219–229  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

217 },
218
219 formatSearchBar(text){
220 const {filterText} = this.state;
221 return (
222 <div className="_search" onClick={() => this.toggleOpen(true)}>
223 {filterText ? <div className="_text"></div>
224 : <div className="_text">{text}</div>}
225 <input className='_input' ref='userInput' value={filterText}
226 type='text' onChange={(e) => this.handleSearch(e.target.value)}/>
227 </div>
228 );
229 },
230
231 formatMultiInput(tags){
232 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…