react-native-currency-picker
Various country picker for iOS and Android
Demo
Getting started
$ npm install react-native-currency-picker --save
OR
$ yarn add react-native-currency-picker
Example
import RNImageFilter from "react-native-image-filter";
RNImageFilter.getSourceImage(
{
imageSource: "/storage/emulated/0/Download/img2-0.jpg",
dataType: "Path",
filterType: 1,
},
(source) => {
this.setState((imgBase64: source.base64));
console.log("SOURCE", source);
}
);
Options
Props | Default | Options/Info |
---|
imageSource (String) | null | The path to the image in the device or a Base64 string. |
dataType (String) | Path | If you send a path, enter the string "Path" If you send a Base64 string, enter the string "Base64". |
filterType (int) | 0 | Select the type you want to filter images, the values from 0 to 21. Other values around 0 to 21 will not take effect. Note: Valid only when dataType = "Path". |
Filter types
Note
- The image path you send into imageSource:'' must be the absolute path. If you have problems with the absolute path, you can find the solution here.
Thank you for your interest!