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

fluxible-react-select

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluxible-react-select

A version of react-select that allows more flexibility and control. You can use this with redux or flux

  • 1.4.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by333.33%
Maintainers
1
Weekly downloads
 
Created
Source

Fluxible-React-Select

more info

How to install

run npm install --save-dev fluxible-react-select

How to use

The react component requires a handful of props:

required props:

  • options: React.PropTypes.object
  • values: React.PropTypes.array
  • loadOptions: React.PropTypes.func.isRequired
  • addSelect: React.PropTypes.func.isRequired
  • popSelect: React.PropTypes.func.isRequired
  • removeSelect: React.PropTypes.func.isRequired
  • removeAllSelected: React.PropTypes.func.isRequired

optional props for customization

  • placeholder: React.PropTypes.string
  • labelKey: React.PropTypes.string
  • valueKey: React.PropTypes.string
  • valueRenderer: React.PropTypes.func
  • optionRenderer: React.PropTypes.func
  • onOptionLabelClick: React.PropTypes.func

Credits, etc.

Fluxible React Select uses Jed Watson's react-select components like Option, Value, and re-uses parts of his Select component as well.

The main difference there is that this "fluxible" version removes handling it's own state. This is instead managed via props, which the user passes in. This allows a more flexible interface if you want to use a flux-like library along with a React multi-select component.

Keywords

FAQs

Package last updated on 29 Mar 2016

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