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

@trendmicro/react-checkbox

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trendmicro/react-checkbox

Trend Micro Components: React Checkbox

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
421
increased by40.33%
Maintainers
3
Weekly downloads
 
Created
Source

react-checkbox build status Coverage Status

NPM

React Checkbox

Demo: https://trendmicro-frontend.github.io/react-checkbox

Installation

  1. Install the latest version of react and react-checkbox:
npm install --save react @trendmicro/react-checkbox
  1. At this point you can import @trendmicro/react-checkbox and its styles in your application as follows:
import Checkbox from '@trendmicro/react-checkbox';

// Be sure to include styles at some point, probably during your bootstraping
import '@trendmicro/react-checkbox/dist/react-checkbox.css';

Usage

// Basic
<Checkbox />

// Checked
<Checkbox defaultChecked />

// Partial checked
<Checkbox defaultIndeterminate />

// Partial checked. Fixed indeterminate status (Do not change by click)
<Checkbox indeterminate />

// Disabled
<Checkbox disabled />

// With Label
<label className="checkbox">
    <Checkbox />
    Normal
</label>

// Get checkbox checked status
<Checkbox 
    ref={node => {
        this.checkbox = node;
    }}
/>
// Get checked status by this.checkbox.checked

API

Properties

NameTypeDefaultDescription
defaultCheckedBooleanfalseSpecify default checked status for checkbox
defaultIndeterminateBooleanfalseSpecify default indeterminate status for checkbox
indeterminateBooleanfalseForce indeterminate status for checkbox
disabledBooleanfalseSpecify disabled status for checkbox
NameTypeDescription
checkedBooleanGet checked status
indeterminateBooleanGet indeterminate status

License

MIT

Keywords

FAQs

Package last updated on 17 Oct 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