Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-animated-dialog

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-animated-dialog

A dialog with popup animation for your react-native app

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

react-native-animated-dialog

A dialog component for your react-native application.

To Download, run: yarn add react-native-animated-dialog, or npm install -s react-native-animated-dialog.

Sample Usage:

import Dialog from "react-native-animated-dialog";

openDialog = () {
  this.setState({ open: true});
}

closeDialog= () {
  this.setState({ open: false});
}


render () {
  let myLayout = (
    <View>
      // this is what will be displayed inside the dialog
    </View>
)
  return (
      <Dialog
       open={this.state.open}
       layout={myLayout}
       margin={60}                  //default is 40
       closeOnTapOutside={false}   //Default is true
       />
  )
}

By default, the dialog comes up from the bottom. You can add the prop modern={true} to change the animation.

Regular animation

modern

Keywords

FAQs

Package last updated on 10 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc