Fix onClick invocation for chip

pull/151/head
Caren Chang 2 years ago
parent 1d63104cc1
commit c9264b3561

@ -119,13 +119,13 @@ fun NiaFilterChip(
@OptIn(ExperimentalMaterial3Api::class)
fun NiaTopicChip(
enabled: Boolean,
onClick: (Boolean) -> Unit,
onClick: () -> Unit,
modifier: Modifier = Modifier,
label: @Composable () -> Unit
) {
SuggestionChip(
enabled = enabled,
onClick = { onClick },
onClick = onClick,
label = {
ProvideTextStyle(value = MaterialTheme.typography.labelMedium) {
label()

Loading…
Cancel
Save