1.0.4 • Published 3 years ago

rncustomdropdown v1.0.4

Weekly downloads
116
License
ISC
Repository
github
Last release
3 years ago

This package provide you to use drop down in very easy way and easy to understand


Installing

npm i rncustomdropdown


How to use:-

1-First import by using npm i rncustomdropdown

2-import CustomDropdown from 'rncustomdropdown';


Usage

<CustomDropdown

            data={[{name:'junaid'},{name:'qureshi'},

            {name:'qurewertyushi'}]}

            dropdownTitle={"MyDefaulData"}

            handleCallback={(result) => console.log
            ("callback data===>", result)}
            
            dropDownWidth={200}
        />  

Available props

NameTypeDefaultDescription
dataarray{ name: "A" },{ name: "B" },{ name:"C"}take the dropdown data
dropdownTitlestringSelectdropdown title
dropDownWidthnumbernulldropDownWidth
handleDropdownfunctionnullit return the selected item.
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago