3.0.2 • Published 8 years ago

apeman-react-search v3.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

apeman-react-search

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for search components.

Installation

$ npm install apeman-react-search --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {ApSearch, ApSearchStyle} from 'apeman-react-search'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApSearchStyle />
        <ApSearch/>
      </div>
    )
  }
})

Components

ApSearchStyle

Props

NameTypeDefaultDescription
styleobject{}
highlightColorstringApStyle.DEFAULT_HIGHLIGHT_COLOR
maxWidthApStyle.CONTENT_WIDTH
transition400

ApSearch

Props

NameTypeDefaultDescription
namestring''Name of search input
typestring'text'Type of search input
valuestring''Value of search input
placeholderstring''Placeholder of search input
clearIconstring'ion ion-close-round'Icon class name of clear button
searchIconstring'ion ion-search'Icon class name of search button
onClearfuncnullHandler for clear event
openboolfalseOpen to input
rightedboolfalseRender with righted style

License

This software is released under the MIT License.

Links

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago