Tailwind

手机端如何使用?

import tw from 'twrnc';
<View style={tw`bg-red-500 h-50`}></View>

如何设置宽高?

classproperties
w-fullwidth: 100%;
w-screenwidth: 100vw;

如何设置间距?

无法设置,需要rem

如何使用flex布局?

classproperties
flexdisplay: flex;
flex-rowflex-direction: row;
flex-colflex-direction: column;
justify-centerjustify-content: center;
items-centeralign-items: center;
flex-1flex: 1 1 0%;
justify-betweenjustify-content: space-between;
justify-aroundjustify-content: space-around;

边框如何处理?

无法处理