1.2.1 • Published 5 years ago
modal-dropdown v1.2.1
Modal Dropdown
A simple React component for modal list.
Live Demo
Table of Contents
Installation
$ npm install modal-dropdown
$ yarn add modal-dropdown
Usage
Required Props
heading: Label of Modal,subHeading: Value of Modal,optionData: Modal list data |format: {Id:id , Name:value , Initial:image as base64},keyField: Pass as a params when save function calledsavewhich is the function called when the value is updated |params: Id,Name,keyField.
Optional Props
isAngleRight: Angle right |default: true.isAngleDown: Angle down |default: false.size: md' |default: sm .
Example:
Demo Repository
Original Repository
Note : Do Install react-bootstrap for better UI