React native 如何在nativebase中将晶圆厂与底部中心对齐?
如何在NativeBase中将晶圆厂与底部中心和顶部中心对齐React native 如何在nativebase中将晶圆厂与底部中心对齐?,react-native,native-base,React Native,Native Base,如何在NativeBase中将晶圆厂与底部中心和顶部中心对齐 <Fab direction="up" containerStyle={{ }} style={{ backgroundColor: '#5067FF' }} position="bottomCenter" > <Icon name="gas-station" /> </Fab> 工厂中的bottomCenter不工作。。有没有办法把晶圆厂安排在底部中间 对于topLeft、to
<Fab direction="up" containerStyle={{ }} style={{ backgroundColor: '#5067FF' }} position="bottomCenter" >
<Icon name="gas-station" />
</Fab>
工厂中的bottomCenter不工作。。有没有办法把晶圆厂安排在底部中间
对于topLeft、topRight、bottomLeft、bottomRight都有可用的选项。但是对于bottomCenter/topCenter,什么都看不到。添加containerStyle={{left:'50%}}并更改position=“bottomLeft”或position=“bottomRight”表示底部中心,而position=“topLeft”或position=“topRight”表示顶部中心,请详细解释,添加
containerStyle={{{left:'50%'}}
并更改position=“bottomLeft”
或position=“bottomRight”
表示底部中心,更改position=“topLeft”
表示顶部中心topCenter@akhilxavier这很有帮助。。感谢you@akhilxavier当前位置这对我也有用。谢谢您可以将此评论作为答案发布。从评论中复制此帖子而不提供属性后,应将其标记为社区wiki。见:和