React native 如何使用shoutem/ui和react native创建内联facepill
如何在shoutem/ui中创建图像的内联行?现在它们显示为块元素,每个元素都有自己的行。取而代之的是,我想把它们显示为一排居中的化身图像React native 如何使用shoutem/ui和react native创建内联facepill,react-native,shoutem,React Native,Shoutem,如何在shoutem/ui中创建图像的内联行?现在它们显示为块元素,每个元素都有自己的行。取而代之的是,我想把它们显示为一排居中的化身图像 {post.name} {post.title} 所以我只需要查看shoutem作为其视图的一部分包含的默认样式 在这种情况下 就这样 <View styleName="horizontal"> <Image styleName="small-avatar" source={{ uri:
{post.name}
{post.title}
所以我只需要查看shoutem作为其视图的一部分包含的默认样式
在这种情况下
就这样
<View styleName="horizontal">
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
</View>
<View styleName="horizontal">
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
<Image
styleName="small-avatar"
source={{ uri: 'http://shoutem.github.io/img/ui-toolkit/examples/image-3.png'}}
/>
</View>