Skip to content

AG-Systems/react-search-item-component

Repository files navigation

React Search Item

alt text

alt text

alt text

Example:

import React from 'react';
import Search from 'react-search-item';

class MyComponent extends React.Component {

  render() {

     return (
     <div>
        <Search section_list={["title", "description"]} 
            highlight_color_text={"black"} 
            highlight_color_bg={"#21ce99"}
            data={JSON}
        />
      </div>
    );
  }

}

Props

  • section_list: Array, Required, list of each section you would like to include

  • highlight_color_text: String, Required, color of the highlight text

  • highlight_color_bg: String, Required, color of the highlight background

  • data: Object, Required, json data you want to pass

About

Fluid mobile item responsive search component

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published