Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support react-native 0.71 gap proprety #194

Open
Jackmekiss opened this issue Feb 6, 2023 · 2 comments
Open

Support react-native 0.71 gap proprety #194

Jackmekiss opened this issue Feb 6, 2023 · 2 comments

Comments

@Jackmekiss
Copy link

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

@visormatt
Copy link

@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>

@johhansantana
Copy link

not sure if this was recently implemented but you I was able to do tw('gap-3') and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants