@npmcorp/pui-react-radio

A React component that provides styled radio buttons

Stats

StarsIssuesVersionUpdatedCreatedSize
@npmcorp/pui-react-radio
8.2.45 years ago6 years agoMinified + gzip package size for @npmcorp/pui-react-radio in KB

Readme

pui-react-radio

A React component that provides styled radio buttons

Pivotal UI React (GitHub, npm) is a collection of React components for rapidly building and prototyping UIs.

This component requires React v0.13

See the Pivotal UI Styleguide for fully rendered examples.

Components

Radio

A radio button

var Radio = require('

#### Properties

- `checked`
  - `Boolean`: Whether the radio is currently selected

- `defaultChecked`
  - `Boolean`: Whether the radio begins selected

- `name`
  - `String`: An identifier for the radio for form submissions and associating it with a `<RadioGroup>`

- `value`
  - `String`: The value used for `name` on form submission

- `onChange`
  - `Function`: A callback called when the radio is checked or unchecked

- `id`
  - `String`: An identifier for the radio that can be used, for example, with labels


*****************************************

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.