$ yarn add react-native-text-to-image
$ react-native link react-native-text-to-image
import TextToImage from 'react-native-text-to-image';
TextToImage.convert(text, fontName, fontSize, color, destinationUri => {
// use image uri here.
});
Convert text string to png image
$ yarn add react-native-text-to-image
$ react-native link react-native-text-to-image
import TextToImage from 'react-native-text-to-image';
TextToImage.convert(text, fontName, fontSize, color, destinationUri => {
// use image uri here.
});
Convert text string to png image