GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ReScript React Native
  • Docs
  • Components
  • APIs
  • Blog
  • GitHub
  • AccessibilityInfo
  • ActionSheetIOS
  • Alert
  • Animated
  • AnimationFrame
  • AppRegistry
  • AppState
  • BackHandler

This view

  • Original page
  • New address

GeezerVison is showing rescript-react-native.github.io — ActionSheetIOS | ReScript React Native

iOS-only action sheet / share sheet.

showActionSheetWithOptions​

ActionSheetIOS.showActionSheetWithOptions(
{
options: ["Cancel", "Delete"],
cancelButtonIndex: 0,
destructiveButtonIndex: [1],
title: "Confirm",
},
buttonIndex => Console.log(buttonIndex),
)

showShareActionSheetWithOptions​

ActionSheetIOS.showShareActionSheetWithOptions(
{url: "https://rescript-lang.org", message: "ReScript"},
error => Console.warn(error),
(completed, activityType) => Console.log((completed, activityType)),
)

dismissActionSheet​

ActionSheetIOS.dismissActionSheet()
  • showActionSheetWithOptions
  • showShareActionSheetWithOptions
  • dismissActionSheet
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.