iannbing / react-simple-tree-menu

A simple React tree menu component
MIT License
137 stars 48 forks source link

Configurable Input placeholder text #197

Open pstephenwille opened 2 years ago

pstephenwille commented 2 years ago

I'd like to change the placeholder text on the search box but I'm not seeing way to do this. Ideally it would be a prop. Are there any plans to add this ability?

         <TreeMenu data={ treeData }
                                  initialOpenNodes={ [ 'entities' ] }
                                  hasSearch={ true }
                                 //placeHolder={'Search'}
                                  cacheSearch={ false }
                                  onClickItem={ nodeClickHandler }
                                  matchSearch={ evaluateNodeValues } />