0.4.0 • Published 2 years ago
react-native-live-text-image-view v0.4.0
React Native iOS Live Text Image
Installation
yarn add react-native-live-text-image-view
cd ios/ && pod install
Note: Requires iOS 16. Fallbacks to UIView below it.
API
import { LiveTextImageView } from 'react-native-live-text-image-view';
<LiveTextImageView>
<Image
source={{
uri: 'https://images.unsplash.com/photo-1518893494013-481c1d8ed3fd?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1770&q=80',
}}
style={{ height, width }}
resizeMode="contain"
/>
</LiveTextImageView>;
Example
- git clone repo
- cd example