Open dragossusi opened 2 years ago
Also Switch
(renamed SwitchMaterial
?). Per https://github.com/JetBrains/compose-jb/pull/1390#issue-1052375115 it was intentionally added without all the components.
edit: I've applied colours from my Material 3 colour scheme to the Material 2 components and it works well enough:
Material 3 navigation bar is not working either
The only problem here is that the material3 dependency exposed by compose-jb is very old, while 1.0.0-alpha02
is already around and all documentation is made for that version. It just has to be updated.
@jakobkmar is this a bug for AndroidX repository?
@dragossusi you can see the state of Material 3 compose-jb is currently using here while the origin repo already has a lot more components. This is not really a bug, it is just behind.
Update: Button
is now available with material 3 in jetbrains compose 1.1.0-alpha02
.
Thank you!
@igordmn should we close it?
I added material 3 succesfully in my app, and most of the widgets work, but the
Button
widget is nowhere to be found.Material3
Text
,Icon
,IconButton
,Scaffold
andTopAppBars
work, but I can't importmaterial3.Button
, onlymaterial.Button
works