React Nativeでmarginにautoを使う
要素を手軽に中央揃えしたいのでmarginHorizontalにautoを指定したら効かない
margin:'10px auto'のような指定はそもそも対応してないらしく怒られる
https://gyazo.com/2f1a47120009a6e9b52dcfaaabe40553
解決策
I can use marginLeft and marginRight for auto now, but not marginHorizontal, so just split them to 2 properties.
marginLeft: 'auto', marginRight: 'auto'しましょう