0.1.0 • Published 7 years ago

fable-import-react-native-image-resizer v0.1.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
7 years ago

fable-import-react-native-image-resizer

Fable bindings for React Native Image Resizer

Installation

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

Follow install instructions for react-native-image-resizer and then:

$ npm install --save-dev fable-import-react-native-image-resizer

Usage

Follow instructions for react-native-image-resizer.

In F# project (.fsproj)

  <ItemGroup>
    <Compile Include="node_modules/fable-import-react-native-image-resizer/Fable.Import.ReactNativeImageResizer.fs" />
    <Compile Include="node_modules/fable-import-react-native-image-resizer/Fable.Helpers.ReactNativeImageResizer.fs" />
  </ItemGroup>

In F# script (.fsx)

#load "node_modules/fable-import-react-native-image-resizer/Fable.Import.ReactNativeImageResizer.fs"
#load "node_modules/fable-import-react-native-image-resizer/Fable.Helpers.ReactNativeImageResizer.fs"


...