Socket
Book a DemoInstallSign in
Socket

@seung-ju/react-native-action-sheet

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seung-ju/react-native-action-sheet

ActionSheet for react native

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
2
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

@seung-ju/react-native-action-sheet

ActionSheet for react native

Installation

npm install react-native-action-sheet

Usage

import ActionSheet from '@seung-ju/react-native-action-sheet';

// ...

ActionSheet.open('Title', 'Message', [
  {
    text: 'Button 1',
    onPress: () => {
      Alert.alert('Button 1');
    },
  },
  {
    text: 'Button 2',
    onPress: () => {
      Alert.alert('Button 2');
    },
    style: 'destructive',
  },
  {
    text: 'Cancel',
    onPress: () => {
      Alert.alert('Cancel');
    },
    style: 'cancel',
  },
]);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

react-native

FAQs

Package last updated on 17 Aug 2024

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