Skip to content

Commit

Permalink
rebase master and update chips
Browse files Browse the repository at this point in the history
  • Loading branch information
shengyou committed Sep 5, 2023
1 parent b7e0a42 commit 1c07427
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
package org.jetbrains.jewel.samples.standalone.customs.ui

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import org.jetbrains.jewel.Chip
import org.jetbrains.jewel.Text
import org.jetbrains.jewel.samples.standalone.customs.data.Platform

@Composable
fun PlatformChips(supportedPlatforms: List<Platform>, modifier: Modifier = Modifier) {
Row(modifier) {
Row(modifier, horizontalArrangement = Arrangement.spacedBy(4.dp)) {
supportedPlatforms.forEach { platform ->
Chip(
enabled = true,
onChipClick = {}
onClick = {}
) {
Text(
text = platform.name,
Expand Down

0 comments on commit 1c07427

Please sign in to comment.