New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

boundless-checkbox

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boundless-checkbox

An accessible checkbox with indeterminate support.

  • 1.0.0-beta.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

THIS IS AN AUTOGENERATED FILE. EDIT INDEX.JS INSTEAD.

Checkbox

An accessible checkbox with indeterminate support.

Checkbox is implemented as a "controlled input", meaning it is a direct representation of the model data passed inside. User interaction will bubble changes in the form of onChecked and onUnchecked that a controller view must intercept and apply against the data provider.

Props

Note: only top-level props are in the README, for the full list check out the website.

Required Props

There are no required props.

Optional Props

NameTypeDefault ValueDescription
inputProps
object
{
    checked: false,
    indeterminate: false,
}
all input-specific props like `value`, `name`, etc should be passed here -- common ones are listed below. Also supports any [React-supported attribute](https://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes); applied to the `.b-checkbox` node
label
any renderable
null
any React-renderable content, most commonly a simple string
labelProps
object
{}
any [React-supported attribute](https://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes); applied to the `.b-checkbox-label` node
onChecked
function
noop
called when the element becomes checked; backing data must be updated to persist the state change
onUnchecked
function
noop
called when the element becomes unchecked; backing data must be updated to persist the state change

Keywords

FAQs

Package last updated on 26 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc