この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン | |||
reactnative:style [2019/02/11 14:13] ips |
reactnative:style [2019/03/30 14:35] (現在) ips |
||
---|---|---|---|
ライン 14: | ライン 14: | ||
[[https://casesandberg.github.io/react-color/|React Color]] | [[https://casesandberg.github.io/react-color/|React Color]] | ||
+ | ====== widthやhight ====== | ||
+ | 数字でも%でも指定できる。%の場合は''が必要。 | ||
+ | <code> | ||
+ | style={{flex:1,width:'100%',maxHeight:200,top:50}} | ||
+ | </code> | ||
===== flex ===== | ===== flex ===== |