bottomsheet_by_kabeer
v0.0.6
Published
The Bottom Sheet is a component that slides up from the bottom of the screen to showcase additional content in your application.
Downloads
43
Maintainers
Readme
Custom Bottom Sheet
Build components without repetition.
Bottom Sheet
System Requirements
- Node and npm installed
- MacOS, Windows and Linux are supported
Installation
- To install, run:
npm i bottomsheet_by_kabeer
Usage
- Load the module in your component
import CustomBottomSheet from 'bottomsheet_by_kabeer';
- Configurable/Required props for CustomChipSelector when navigating:
| Prop | Type | Description |
|-----------------------|-----------|---|
| options
| Array | Its the BottomSheet options that you want to render on your Screen
| selectedValue
| Array | Calling selected Value will return a JavaScript array of objects representing the current selection. Each object will contain all of the properties/values.
| title
| String | DropDown Heading.
| onSelectedValue
| Array | The on Selected value, is the State that is used to update our state or Add in state.
| multi
| boolean | A control or widget that allows multiple items to be selected.
| bottomSheetRef
| Reference | Reference of your bottom Sheet.
| heading
| String | bottom Sheet Heading.