Skip to content

AddSearch/search-ui-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search UI - React Example

This is an example how to use AddSearch Search UI Library with React. This example is based on the create-react-app project.

AddSearch UI library is a tool to create fast, mobile-friendy, and cross-browser compatible search solutions quickly and effortlessly.

Components

All AddSearch UI components are wrapped to React components with corresponding names. Props passed to the React component are used for initializing Search UI components.

For example, the following React component:

<SearchField ui={this.searchui}
           button="Search"
           searchAsYouType={true} />

is equal to:

searchui.searchField({
  container: "searchfield",
  button: "Search",
  searchAsYouType: true
});

How to run

npm install
npm run start

Support

Feel free to send any questions, ideas and suggestions at support@addsearch.com or visit addsearch.com for more information.

About

React app with AddSearch Search UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published