Closed TVke closed 5 years ago
It's going to be shadow.shadowMd
because otherwise the shadow['2xl']
problem would occur.
I made a general theme
accessor so this is possible:
<Component containerStyle={{
...theme.shadowMd,
...theme.fontCustom,
...theme.p4,
}} />
Reminder to myself and up for discusion.
Just like colors, accessing the values directly.
This is useful when using components that use specific styling methods. It could be useful like this:
resulting in: