Currently when using Material 3 there is no way to...
# compose
t
Currently when using Material 3 there is no way to customize quite a few shapes, like the ones of button or navbaritem, on a theme level. Until the issue is solved: Any ideas on a better workaround other than custom Button composables or explicitly passing a button shape on each usage?
m
Just factor that out into a separate MyButton function and then use only that in your code.
☝️ 1
t
Yeah, that's what I meant by saying
custom button composables
Was just hoping somebody may have some more elegant way 😅
c
That is the elegant way in every declarative UI framework.
💯 1