Skip to content

Commit 2a10882

Browse files
committed
📝 :: Item clip 추가
1 parent 50781fb commit 2a10882

File tree

1 file changed

+3
-0
lines changed
  • feature/shop/src/main/java/com/stackknowledge/shop/component

1 file changed

+3
-0
lines changed

feature/shop/src/main/java/com/stackknowledge/shop/component/GoodsItem.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ import androidx.compose.foundation.layout.fillMaxWidth
1111
import androidx.compose.foundation.layout.height
1212
import androidx.compose.foundation.layout.padding
1313
import androidx.compose.foundation.layout.width
14+
import androidx.compose.foundation.shape.RoundedCornerShape
1415
import androidx.compose.material3.Text
1516
import androidx.compose.runtime.Composable
1617
import androidx.compose.runtime.mutableStateOf
1718
import androidx.compose.runtime.remember
1819
import androidx.compose.ui.Alignment
1920
import androidx.compose.ui.Modifier
21+
import androidx.compose.ui.draw.clip
2022
import androidx.compose.ui.layout.ContentScale
2123
import androidx.compose.ui.res.painterResource
2224
import androidx.compose.ui.res.stringResource
@@ -49,6 +51,7 @@ fun GoodsItem(
4951
) {
5052
Box(
5153
modifier = modifier
54+
.clip(shape = RoundedCornerShape(10.dp))
5255
.clickable {
5356
if (checked.value) {
5457
onItemCheckButtonClick(itemData)

0 commit comments

Comments
 (0)