src/Filterizr.js
/**
   * Searches through the FilterItems for a given string and adds an additional filter layer.
   * @param {String} searchTerm the term for which to search
   */
Searches through the FilterItems for a given string and adds an additional filter layer.
@param {String} searchTerm the term for which to search
Searches through the FilterItems for a given string and adds an additional filter layer . @param { String } searchTerm the term for which to search
search(searchTerm = this.props.searchTerm) {
    const { FilterItems } = this.props;
    const FilteredItems = this.searchFilterItems(this.filterFilterItems(FilterItems, this.options.filter), searchTerm);
    this.props.FilteredItems = FilteredItems;
    this.render(FilteredItems);
  }
search ( searchTerm = this . props . searchTerm ) { const { FilterItems } = this . props ; const FilteredItems = this . searchFilterItems ( this . filterFilterItems ( FilterItems , this . options . filter ) , searchTerm ) ; this . props . FilteredItems = FilteredItems ; this . render ( FilteredItems ) ; }
Searches through the FilterItems for a given string and adds an additional filter layer.
Searches through the FilterItems for a given string and adds an additional filter layer .
// Filter items and optionally apply search if a search term exists // Render the items