New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tsdev-react-tag-select

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsdev-react-tag-select

ReactJS component

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

tsdev-react-tag-select

Installation

npm install tsdev-react-tag-select

Properties

nametypedefaultrequired
availableItemsarray of objects<< availableItems >>no
disabledboolfalseno
expandedboolfalseno
handleCloseTagfuncnoopno
handleSelectBoxClickfuncnoopno
idstring'tsdev-tag-select-{uuid}'no
isClosablebooltrueno
placeholderstring'Please Selects'no
showSummarybooltrueno
showValueboolfalseno
subClassstring''no
widthstring, number'123'no

Static Storybook

  • open with browser '/storybook-static/index.html'

Examples

  • open with browser '/dist/examples/index.html'

Styles

  • '/dist/styles.css'

Functions

handleCloseTag(event, tag) => {
	console.log(event);
	console.log(tag);
}

handleSelectBoxClick(event, item, availableItems) => {
	console.log(event);
	console.log(item);
	console.log(item);
}

<< availableItems >>

[
        {
            id: 1,
            label: 'Item-1',
            value: 10,
            selected: false,
            disabled: false
        },
        {
            id: 2,
            label: 'Item-2',
            value: 20,
            selected: false,
            disabled: false
        },
        {
            id: 3,
            label: 'Item-3',
            value: 30,
            selected: true,
            disabled: false
        },
        {
            id: 4,
            label: 'Item-4',
            value: 40,
            selected: false,
            disabled: false
        },
        {
            id: 5,
            label: 'Item-5',
            value: 50,
            selected: true,
            disabled: true
        }
    ]

Keywords

tag

FAQs

Package last updated on 02 Feb 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