Hello everyone!! Why I see this <https://developer...
# compose
d
Hello everyone!! Why I see this https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#Chip(kotlin.Function0,androi[…].Function0,kotlin.Function1), but it's missing. Maybe I need to change the library source or anything else? Maybe has material 3 roadmap? More than a year has passed but all components have not been implemented
f
You are trying to import material 3 component but you linked material (2?) documentation. I don't know if there is Material 3 specific roadmap but I believe the material team is working hard on adding all the components from material specification as soon as possible. You can watch the material 3 release notes for when the
Chip
becomes available. For now you can use the
Chip
from "non-3" material library instead.
d
@Filip Wiesner I am trying to import material 2 chip too
f
Check your dependencies if you have both
material
and
material3
.
d
@Filip Wiesner maybe I do something wrong
f
It looks like Chip support was added to material library in version
1.2.0-alpha02
or
1.2.0-alpha04
( I am not sure which from the release notes)
And you don't have to @ me every time you write a message 🙂
d
thanks, it's worked
🎉 1