3.0.5 • Published 1 year ago

mdropdownselector v3.0.5

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.1

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago