Closed morph1nX closed 3 weeks ago
I moved the rendering logic to the respective page
components and removed the inline styles. However I am not using the sx
prop to style as the Stack
component provides props like h
, w
, justify
and align
which is enough for me. Also I see that the component responds to theme changes anyways. What do you think? I have never used Mantine before lol. So thanks for the tips.
No worries! It always takes time getting used to new libraries. I like Mantine because it's extremely customizable so it'll be very helpful if we do a redesign in the future.
Also using those props is fine, it's equivalent to using sx
I think. What I meant by theme is stuff like common padding values (xs, md, etc) and the sort.
Looks good! Just a few more nits, thank you so much for working through these!
Made NoEntriesOverlay
its own component. I too had thought about this first but all the props passing put me off. Anyways I hope this approach works!
Fixes Issue #6 Please see if everything looks and functions as expected. The code structure might need some more help. Working on it.