3.0.5 • Published 2 years ago

mdropdownselector v3.0.5

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

How to configure

import { Multiselect } from './lib'; import { useState,useEffect } from 'react';

function App() {

const selected,setSelected=useState(null)

useEffect(()=>{ console.log(selected,'selcted ') },selected)

return (

<div className="App">
  <Multiselect  getSelected={setSelected} value={["value1", "value2","value3"]} buttonColor:"#12c675"  buttonTextColor:"white" placeholder:"select values"/>
</div>

); }

export default App;

props :

value: it is data values. you can provide as a props as well directly component calling.

buttonColor: used to configure the background color of button in the modal (default is blue)

buttonTextColor: used to configure button text color in the modal (default is white)

placeholder: used to configure placeholder of Input

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.1

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago