Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@easyguide/checkbox

Package Overview
Dependencies
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyguide/checkbox

Components checkbox ui

  • 0.9.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
7
Weekly downloads
 
Created
Source
  • @easyguide/checkbox

@easyguide/checkbox

Camponents checkbox ui

NPM JavaScript Style Guide

Install

npm install --save @easyguide/checkbox

Usage simple checkbox

import React from 'react'
import Checkbox from '@easyguide/checkbox'

class Example extends Component {
  render() {
    const items = [
      {value: 1, label: 'IPCA'},
      {value: 2, label: 'CDI'},
      {value: 3, label: 'PRÉ'},
    ]

    return (
      <Checkbox
        label="Tipo de rentabilidade"
        items={items}
        onChange={value => console.log(value)}
      />
    )
  }
}

Usage checkbox with selected values

import React from 'react'
import Checkbox from '@easyguide/checkbox'

class Example extends Component {
  render() {
    const items = [
      {value: 1, label: 'IPCA'},
      {value: 2, label: 'CDI'},
      {value: 3, label: 'PRÉ'},
    ]

    return (
      <Checkbox
        label="Tipo de rentabilidade"
        items={items}
        value={[1, 3]}
        onChange={value => console.log(value)}
      />
    )
  }
}

License

MIT © iamtchelo

FAQs

Package last updated on 21 Jan 2019

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