fable-import-react-native-popup-menu
v0.0.5
Published
Fable bindings for react-native-popup-menu
Downloads
9
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