Skip to content

Commit

Permalink
[FEAT/#32] 공고 정렬 버튼 클릭이벤트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyobeen-Park committed Jul 10, 2024
1 parent 69b88a9 commit 2e9898e
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.terning.core.designsystem.component.button

import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Text
Expand All @@ -12,13 +13,18 @@ import androidx.compose.ui.unit.dp
import com.terning.core.R
import com.terning.core.designsystem.theme.Black
import com.terning.core.designsystem.theme.TerningTheme
import com.terning.core.extension.noRippleClickable

@Composable
fun SortingButton(
sortBy: Int = 0,
modifier: Modifier = Modifier,
onCLick: () -> Unit,
) {
Row {
Row(
modifier = modifier
.noRippleClickable { onCLick() }
) {
Text(
text = stringResource(
id = when (sortBy) {
Expand Down

0 comments on commit 2e9898e

Please sign in to comment.