packtest68
v1.0.0
Published
simple test
Downloads
2
Readme
packtest64
simple test
Install
npm install --save packtest64
Usage
import React, { Component } from 'react'
import Dropdown from 'packtest64'
class Example extends Component {
const values = [0, 1, 2, 3, 4]
const onChange = ()=>{
//To Do();
}
render() {
return <Dropdown id="id" classOfSelect="classOfSelect" values={values} choices={values} onChange={onChange} />
}
}
Props
id - the id of your DropDown
classOfSelect - the class for the selects
choices - the text displayed in the selection
values - the values which are saved
onChange - a function to run onChange()
License
MIT © Seb59000