react-image

    0热度

    1回答

    我有以下代码,我想从数组中加载图像,如果我尝试加载单个图像,它工作正常,但如果我尝试加载多个图像它剂量显示任何图像,我的div test是在dom中。 import React, {Component} from 'react'; class Slider extends Component { render() { const myItems = [{source_i

    0热度

    2回答

    我看到很多移动应用程序都有一个功能,用户可以绘制一个方块来指示要在图像上标记的东西。 我在建Face Tagging应用程序,基本上用户在图像上画人脸的边界上的正方形。 我已经Google了很多次,但我不知道RN有一些标记功能库。 我该如何做到这一点?有没有什么好的图书馆去在图片上画平方?如果我能记住矩形的坐标宽度,高度和位置,它会更好。 任何想法或建议将不胜感激! 这低于

    1热度

    1回答

    我减速机: const initialState = { 1: { id: '1', name: 'AryaStark', theimage: "https://upload.wikimedia.org/wikipedia/en/3/39/Arya_Stark-Maisie_Williams.jpg" }, 2: { id: '

    0热度

    1回答

    在本地做出反应,我想以显示我从一个获取获取的图像(我硬编码值这里的例子的目的): <Image source={uri:{'http://books.google.com/books/content?id=sNyBrgEACAAJ&printsec=frontcover&img=1&zoom=5&source=gbs_api'}} /> 但是这不会显示任何东西...任

    2热度

    1回答

    这是我怎么显示的图片是这个样子的React-Native: <View> <Text style={styles.myTitle}> This is the title 2 </Text> <Image style={{ width: null}} source={require('./images/05.jpg')} resizeMode=