fable-import-react-native-popup-menu

Fable bindings for react-native-popup-menu

Usage no npm install needed!

<script type="module">
  import fableImportReactNativePopupMenu from 'https://cdn.skypack.dev/fable-import-react-native-popup-menu';
</script>

README

fable-import-react-native-popup-menu

Fable bindings for react-native-popup-menu

Installation

Install fable-import-react-native and follow the instructions for that package.

Follow install instructions for react-native-popup-menu and then:

$ npm install --save-dev fable-import-react-native-popup-menu

Usage

Follow instructions for react-native-barcodescanner.

In F# project (.fsproj)

  <ItemGroup>
    <Compile Include="node_modules/able-import-react-native-popup-menu/Fable.Import.ReactNativePopupMenu.fs" />
    <Compile Include="node_modules/able-import-react-native-popup-menu/Fable.Helpers.ReactNativePopupMenu.fs" />
  </ItemGroup>

In F# script (.fsx)

#load "node_modules/able-import-react-native-popup-menu/Fable.Import.ReactNativePopupMenu.fs"
#load "node_modules/able-import-react-native-popup-menu/Fable.Helpers.ReactNativePopupMenu.fs"

open Fable.Core
open Fable.Import
module R = Fable.Helpers.React
module RN = Fable.Import.ReactNative
open Fable.Helpers.ReactNativePopupMenu
open Fable.Helpers.ReactNativePopupMenu.Props