name | description | type | default |
---|---|---|---|
wrapStyle | style for modal wrap | Object | {} |
maskStyle | style for modal mask | Object | {} |
style | style for modal | Object | {} |
animationType | animation type for modal content, can be one of none|fade|slide-up|slide-down |
String | slide-up |
animationDuration | animation duration | number | 300 |
visible | visible state | boolean | false |
animateAppear | whether animation on first show | boolean | false |
onClose | called when close | Function | ()=>void |
onAnimationEnd | called when animation end | Function | (visible:boolean)=>void (animationType !== 'none') |
react-mobile-dialog
1.0.0 • Public • PublishedPackage Sidebar
Install
npm i react-mobile-dialog
Repository
Weekly Downloads
1
Version
1.0.0
License
MIT
Unpacked Size
26.9 kB
Total Files
7