@ptadmin/searchbar

1.0.14 • Public • Published

SearchBar

Searchbar is a component that renders a simple text input field with a search icon

Usage

import SearchBar from '@ptadmin/searchbar';

<SearchBar />;

Props

searchRequest (function ()): Function calle when user make a search minChars (intager): The minumum number of characters allowed to be searched liveSearch (boolean): Whether or not the it will autosesrch on type searchDelay (intager): The amout of time(milliseconds) of a pause between typing and search placeholder (string): The placeholder on the search bar, only visible when nothing is typed

Readme

Keywords

none

Package Sidebar

Install

npm i @ptadmin/searchbar

Weekly Downloads

0

Version

1.0.14

License

ISC

Unpacked Size

22.7 kB

Total Files

4

Last publish

Collaborators

  • s.ford
  • polah
  • nunobettencourt
  • gabriellaal
  • henry.miller
  • raj.thota