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

apeman-react-radio

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for radio component.

Installation

$ npm install apeman-react-radio --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {ApRadio, ApRadioStyle} from 'apeman-react-radio'

const html = (
  <html>
  <head>
    <ApRadioStyle/>
  </head>
  <body>
  <div>
    <ApRadio name="favor" value="orange" title="I like orange." onChange={handleChange}/>,
    <ApRadio name="favor" value="apple" title="I like apple." onChange={handleChange}/>
  </div>
  </body>
  </html>
)

Components

ApRadioGroup

Props

Name Type Default Description
prefix string uuid.v4()
name string null
options object {}
checked object {}
onChange func null
icon string ApRadio.DEFAULT_ICON
checkedIcon string ApRadio.DEFAULT_CHECKED_ICON
title ''

ApRadioStyle

Props

Name Type Default Description

ApRadio

Props

Name Type Default Description
id string null
name string null
value string null
title string ''
checked bool false
onChange func null
icon string 'ion ion-ios-circle-outline'
checkedIcon string 'ion ion-ios-circle-filled'

License

This software is released under the MIT License.

Links

Current Tags

  • 4.0.5                                ...           latest (4 years ago)

28 Versions

  • 4.0.5                                ...           4 years ago
  • 4.0.4                                ...           4 years ago
  • 4.0.3                                ...           4 years ago
  • 4.0.2                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.1.9                                ...           4 years ago
  • 3.1.8                                ...           4 years ago
  • 3.1.7                                ...           4 years ago
  • 3.1.6                                ...           4 years ago
  • 3.1.5                                ...           4 years ago
  • 3.1.4                                ...           4 years ago
  • 3.1.3                                ...           4 years ago
  • 3.1.2                                ...           4 years ago
  • 3.1.1                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.1.2                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 56
Dependencies (5)
Dev Dependencies (25)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |