
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-native-popup-navigation
Advanced tools
![]() | ![]() |
|---|
Open a Terminal in the project root and run:
yarn add react-native-popup-navigation
Install and link react-native-gesture-handler
import React from 'react'
import { Navigator } from 'react-native-popup-navigation'
import { Dimensions } from 'react-native'
import Home from './home'
import Popup from './pop_up'
const { height } = Dimensions.get('window')
export default () => {
return (
<Navigator pages={[
{ screen: Home, props: {}, name: 'home', init: true },
{ screen: Popup, props: {}, name: 'popup', snapPoints: [0, height] }
]} />
)
}
| name | required | description |
|---|---|---|
| screen | yes | React.Component |
| props | no | your props |
| name | yes | name to navigate |
| init | no | inital page |
| snapPoints | no | |
| popupStyle | no | form popup styles |
import React from 'react';
import {View, Text, Dimensions, TouchableOpacity, StyleSheet} from 'react-native'
const { width, height } = Dimensions.get('window')
const Home = (props) => {
return (
<View style={styles.container}>
<TouchableOpacity onPress={() => { props.present('popup') }} style={styles.btn}>
<Text>Present</Text>
</TouchableOpacity>
</View>
)
}
const PopUp = (props) => {
return (
<View style={styles.container}>
<TouchableOpacity onPress={() => { props.dismiss() }} style={styles.btn}>
<Text>Present</Text>
</TouchableOpacity>
</View>
)
}
const styles = {
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: '#fff'
},
btn: {
padding: 20,
backgroundColor: 'green'
}
}
export default App
FAQs
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.