react-ape
react-ape copied to clipboard
margin and padding for View
Implementation of margin and padding for existent elements
May, I take this issue?
For sure, feel free to take it @Harshalyadav but please start with one, breaking in three PRs: image, text, view (the order you take doesn’t matter)
@Harshalyadav I have broken into smaller issues (View, Text and Image). Later let me know which one want to work on, so I can assign the issue to you :)
Could you give me more info about this issue?
Yes, so the goal is to have the Style Props working for View. Both style props, margin and padding, follow React Native same directives and the work it works. Which is inspired by the way it works on CSS in Web browsers (https://blog.hubspot.com/website/css-margin-vs-padding).
- Margin style prop definition: https://reactnative.dev/docs/layout-props#margin
- Padding style prop definition: https://reactnative.dev/docs/layout-props#padding
hey u distributed this issue among #118 #119 #120?
yup @AAYUSH-droid
@raphamorim, Thank you.