Skip to content

Commit

Permalink
[chore] #32 이미지리소스 어노테이션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
2hyunjinn committed Jul 8, 2024
1 parent a622950 commit b5106db
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.sopt.dateroad.presentation.ui.component.topbar

import androidx.annotation.DrawableRes
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
Expand Down Expand Up @@ -30,8 +31,8 @@ import org.sopt.dateroad.ui.theme.DateRoadTheme
fun DateRoadBasicTopBar(
title: String,
backGroundColor: Color = Color.Transparent,
iconLeftResource: Int? = null,
buttonContent: (@Composable () -> Unit)? = null
@DrawableRes iconLeftResource: Int? = null,
buttonContent: (@Composable () -> Unit)? = null,
) {
var iconWidth by remember { mutableStateOf(0) }
var contentWidth by remember { mutableStateOf(0) }
Expand Down

0 comments on commit b5106db

Please sign in to comment.