Skip to content

jszombies/react-hallmark

Repository files navigation

React Hallmark

Npm package Build Status Dependency Status

Intro

The component represent the tiny search/highlight React component. No dependencies and redundant wrappers. Could be just copied from source code or used as an example of React component library

Example

  <Items
    items={array}
    query={this.state.query}
    theme={theme}
    nothingView="Nothing to show"
  />

API

property type default note
items shape required { label, link, [children]}
query string required search pattern
limit number 10 max count of items
nothingView component/string null shows if no matches
theme share null styles for components { item, empty}

Engines

  • Yarn
  • npm
  • React

Releases

No releases published

Packages

No packages published