vadimdemedes/tailwind-rn

Support react-native 0.71 gap proprety

Jackmekiss opened this issue · 2 comments

Hi, is there any ways to use the new style proprety gap with react-native > 0.71 ?

@Jackmekiss while not ideal you can take the following approach to make use of the gap property, hopefully this helps.

<View
  style={{
    gap: 16,
    ...tailwind('flex flex-row flex-wrap content-around p-4'),
  }}
>
  // ...
</View>