0.1.7 • Published 2 years ago

@shiftytab/reactselectlist v0.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

About this package

This package allows you to set up a dropdown selection list in React. Below, you will find all the options related to the component and how to install it in your project.

Installation

Follow these steps to install the package:

NPM

  npm i @shiftytab/reactselectlist

YARN

  yarn add @shiftytab/reactselectlist

Deployment

Once you have installed the package, simply import it into your project.

import SelectList from '@shiftytab/reactselectlist';
<SelectList 
    options={[
        {
            "value": "Test 1"
        },
        {
            "value": "Test 2"
        },
        {
            "value": "Test 3"
        }
    ]}
    onChange={e => console.log(e)}
    label="State"
    placeholder='Select a value'
/>

Authors

MIT License GPLv3 License AGPL License