apeman-react-search
apeman react package for search components.
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-react-search 
SYNC missed versions from official npm registry.

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

Name Type Default Description
style object {}
highlightColor string ApStyle.DEFAULT_HIGHLIGHT_COLOR
maxWidth ApStyle.CONTENT_WIDTH
transition 400

ApSearch

Props

Name Type Default Description
name string ''
type string 'text'
value string ''
placeholder string ''
clearIcon string 'ion ion-close-round'
searchIcon string 'ion ion-search'
onClear func null
open bool false
righted bool false

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 90
Dependencies (4)
Dev Dependencies (25)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |