fable-import-react-native-popup-menu

0.0.5 • Public • Published

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
 
 

Package Sidebar

Install

npm i fable-import-react-native-popup-menu

Weekly Downloads

1

Version

0.0.5

License

Apache-2.0

Last publish

Collaborators

  • alfonsogarciacaro
  • et1975
  • forki
  • k_cieslak