rn-sliding-popup
v1.1.8
Published
A react native sliding popup with dynamic animation for a dynamic height.
Downloads
10
Maintainers
Readme
RN-Sliding-Popup is a dynamic custom Modal view of React native, with a dynamic height and React native Animated animations.
It comes with a built-in TypeScript typings.
Installation:
npm i rn-sliding-popup
yarn add rn-sliding-popup
<Popup isCancelable={true} isVisible={isVisible} onClickClose ={()=> {}}>
{...children}
</Popup>
Animated sliding popup:
Dataset Properties
| Name | Type | Default | | --------------- | --------------------- | ------- | | precentegs | Precentage[] | [] | | isVisible | boolean | | onBackdropPress | () => void | | title | string | | titleStyle | TextStyle[] TextStyle | | onPressProcceed | () => void | | durationEnter | number | | durationExit | number | | valueEnter | number | | valueExit | number | | startValue | number | | onClickClose | () => void | | isCancelable | boolean |