How to justify (left, right, center) each child independently?

前端 未结 4 2050
死守一世寂寞
死守一世寂寞 2020-12-08 01:46

In react native I have:


  {\'<\'}
    
      Fitness &a         


        
4条回答
  •  醉酒成梦
    2020-12-08 02:34

    You could also set marginLeft: 'auto' to the middle component. It should push it to the right. Also works for React Native

    Source: https://hackernoon.com/flexbox-s-best-kept-secret-bd3d892826b6

提交回复
热议问题