Skip to content

Commit

Permalink
gregnb#447-Search box - Default Text
Browse files Browse the repository at this point in the history
Deleted examples/customize-search-placeholder
Added searchPlaceholder to examples/customize-search instead
  • Loading branch information
alielkhateeb committed Aug 29, 2019
1 parent f6aa0bd commit 8c919c2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 97 deletions.
96 changes: 0 additions & 96 deletions examples/customize-search-placeholder/index.js

This file was deleted.

1 change: 1 addition & 0 deletions examples/customize-search/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class Example extends React.Component {
responsive: 'stacked',
page: 1,
searchText: this.state.searchText,
searchPlaceholder: 'Your Custom Search Placeholder',
customSearch: (searchQuery, currentRow, columns) => {
let isFound = false;
currentRow.forEach(col => {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const webpack = require('webpack');

module.exports = {
entry: {
app: "./examples/customize-search-placeholder/index.js"
app: "./examples/customize-search/index.js"
},
stats: "verbose",
context: __dirname,
Expand Down

0 comments on commit 8c919c2

Please sign in to comment.