question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support paddingHorizontal/vertical and marginHorizontal/vertical

See original GitHub issue

Hi @nandorojo,

while I know sx has “px, py, mx, my”, I still think that TypeScript should not complain when using the react-native names, unless you have a real reason why which I am not aware of.

Because using them works just fine, just the Types are missing (in this case are aliased). I do like the abbreviation, but sometimes I am “porting” stuff and this forces me to refactor.

What do you think?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nandorojocommented, Mar 25, 2022

Pretty sure I fixed it all now, yarn add dripsy@canary for 3.6.2 should have it.

1reaction
nandorojocommented, Mar 25, 2022

Yeah fair point, I just have to see if it’s easy to add

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are vertical and horizontal padding/margin?
Lets say that someone is discussing vertical padding. Left and right padding lie along the vertical edges of the view, so that could...
Read more >
padding - CSS: Cascading Style Sheets - MDN Web Docs
The padding CSS shorthand property sets the padding area on all four sides of an element at once.
Read more >
CSS Padding - W3Schools
With CSS, you have full control over the padding. There are properties for setting the padding for each side of an element (top,...
Read more >
margin | CSS-Tricks
Vertical margins on different elements that touch each other (thus have no content, padding, or borders separating them) will collapse, forming ...
Read more >
Alignment, Margins, and Padding Overview - WPF .NET ...
This topic discusses four of the most important properties: HorizontalAlignment, Margin, Padding, and VerticalAlignment.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found