Giter Site home page Giter Site logo

egeucak / react-native-advanced-dropdown Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 25 KB

A react native component for creating highly customizable, paginated and searchable dropdown menus

License: GNU General Public License v3.0

JavaScript 100.00%

react-native-advanced-dropdown's Introduction

React Native Advanced Dropdown

A react native component for creating highly customizable, paginated and searchable dropdown menus.

Advanced dropdown menu is born with need of a searchable and paginated dropdown menu.

npm version

Installation

npm install --save react-native-advanced-dropdown

Try it out

For trying, you can check the example app at https://github.com/egeucak/Advanced-Dropdown-Menu-Example.

Documentation [WIP]

###Props

Prop Required Default Type Explanation
data Yes na [Object] Array of objects, each object must have a "label" key. Objects can also have an optional func field, which will be run on click.
title Yes na String The title to be shown on the label of dropdown button
pagination No true bool Pagination can be disabled.
perPage No 999 integer Amount of items to be shown on one page.
searchEnabled No true bool Search function searchs with respect to labels of data objects
dropdownStyle No {} CSS object CSS to be injected in dropdown menu
buttonStyle No {} CSS object CSS to be injected in button that opens dropdown menu

react-native-advanced-dropdown's People

Contributors

egeucak avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.