Merge pull request 'feat(components): expose SelectedCheck as a family primitive' (#2) from feat/selected-check-primitive into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -102,8 +102,18 @@ fun <T> OptionPicker(
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The trailing check that marks the chosen row in a full-screen picker — the
|
||||
* family's single selection affordance, so every picker (option, reminder,
|
||||
* agenda range, timezone, calendar, recurrence) marks its selection the same
|
||||
* way. Pair it with `GroupedRow(selected = true)`: the tonal highlight carries
|
||||
* the state at a glance, the check confirms it unambiguously.
|
||||
*
|
||||
* Purely decorative — the row itself owns the semantics, so it takes no
|
||||
* content description.
|
||||
*/
|
||||
@Composable
|
||||
private fun SelectedCheck() {
|
||||
fun SelectedCheck() {
|
||||
Icon(
|
||||
imageVector = Icons.Rounded.Check,
|
||||
contentDescription = null,
|
||||
|
||||
Reference in New Issue
Block a user