🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

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

Package Overview
Dependencies
Maintainers
60
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

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.

2.7.0
Source
npm
Version published
Weekly downloads
39K
18.97%
Maintainers
60
Weekly downloads
 
Created
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

Package last updated on 12 May 2023

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