1.2.1 • Published 4 years ago

modal-dropdown v1.2.1

Weekly downloads
5
License
ISC
Repository
-
Last release
4 years ago

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 called

  • save which 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