Socket
Socket
Sign inDemoInstall

@s-ui/react-molecule-dropdown-option

Package Overview
Dependencies
46
Maintainers
75
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @s-ui/react-molecule-dropdown-option

`MoleculeDropdownOption` is a component that wraps a composition of checkbox + text.


Version published
Weekly downloads
23K
increased by74.82%
Maintainers
75
Created
Weekly downloads
 

Readme

Source

MoleculeDropdownOption

MoleculeDropdownOption is a component that wraps a composition of checkbox + text.

Installation

$ npm install @s-ui/react-molecule-dropdown-option --save

Usage

Basic usage

import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'

return (
  <MoleculeDropdownOption value="option1">
    Option 1
  </MoleculeDropdownOption>
)

With checkbox

import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'

return (
  <MoleculeDropdownOption value="option1" checkbox>
    Option 1
  </MoleculeDropdownOption>
)

With disabled

import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'

return (
  <MoleculeDropdownOption value="option1" disabled>
    Option 1
  </MoleculeDropdownOption>
)

Find full description and more examples in the demo page.

FAQs

Last updated on 28 Mar 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc