fable-import-react-native-image-resizer
v0.1.0
Published
Fable bindings for React Native Image Resizer
Downloads
13
Readme
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"
...