Skip to content

feat: useYAt#82

Open
hannojg wants to merge 2 commits intocoinjar:masterfrom
hannojg:feat/any-view-at
Open

feat: useYAt#82
hannojg wants to merge 2 commits intocoinjar:masterfrom
hannojg:feat/any-view-at

Conversation

@hannojg
Copy link
Copy Markdown
Contributor

@hannojg hannojg commented Mar 7, 2022

Why

We might want to render any arbitrary view on the y-axis like the horizontal line. I thus created a useYAt hook so consumers can use that to build anything with it.

I extracted the logic out of the HorizontalLine component, which now uses this hook.

Test plan

Simulator Screen Shot - iPhone 13 Pro - 2022-03-07 at 21 17 06

I made sure that the horizontal line is still rendering as expected with that change.

@arancauchi
Copy link
Copy Markdown
Collaborator

Thanks so much for this pr :)

I believe there's a conflict preventing it from being merged.

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

Successfully merging this pull request may close these issues.

2 participants