leather-io / mono

Leather monorepo
https://leather.io
MIT License
11 stars 5 forks source link

chore: item layout mobile #389

Closed pete-watters closed 2 months ago

pete-watters commented 2 months ago

This adds a native version of ItemLayout. Using the web styles and its not looking quite right:

https://github.com/user-attachments/assets/ad0b40dd-8657-4548-bfbf-74841ae043fd

On native, it seems like alignItems doesn't support start / end so I have instead used flex-start and flex-end, maybe thats the issue?

When I check the web.storybook ItemLayout is not loading at all there so I can investigate fixing that and compare

Screenshot 2024-08-23 at 14 14 28

fbwoolf commented 2 months ago

Looks good @pete-watters 👍

pete-watters commented 2 months ago

Looks great! 🚀

Thanks 🙇

pete-watters commented 2 months ago

I'll merge this as it is adding the component correctly although the alignment of items (see demo) could need some work which we can tweak when consuming it.