0.1.7 • Published 2 years ago
@shiftytab/reactselectlist v0.1.7
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/reactselectlistYARN
yarn add @shiftytab/reactselectlistDeployment
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'
/>