@@ -5,12 +5,8 @@ import androidx.compose.foundation.layout.Column
5
5
import androidx.compose.foundation.layout.fillMaxSize
6
6
import androidx.compose.foundation.layout.fillMaxWidth
7
7
import androidx.compose.foundation.layout.padding
8
- import androidx.compose.foundation.layout.size
9
8
import androidx.compose.foundation.lazy.LazyColumn
10
9
import androidx.compose.foundation.lazy.items
11
- import androidx.compose.foundation.shape.RoundedCornerShape
12
- import androidx.compose.material3.Button
13
- import androidx.compose.material3.ButtonDefaults
14
10
import androidx.compose.material3.ExperimentalMaterial3Api
15
11
import androidx.compose.material3.Icon
16
12
import androidx.compose.material3.Scaffold
@@ -21,7 +17,6 @@ import androidx.compose.runtime.mutableStateOf
21
17
import androidx.compose.runtime.saveable.rememberSaveable
22
18
import androidx.compose.ui.Alignment
23
19
import androidx.compose.ui.Modifier
24
- import androidx.compose.ui.draw.shadow
25
20
import androidx.compose.ui.graphics.Color
26
21
import androidx.compose.ui.res.painterResource
27
22
import androidx.compose.ui.text.font.FontWeight
@@ -31,6 +26,7 @@ import androidx.compose.ui.unit.sp
31
26
import com.kuit.ourmenu.R
32
27
import com.kuit.ourmenu.ui.addmenu.component.AddMenuTopAppBar
33
28
import com.kuit.ourmenu.ui.addmenu.component.RestaurantSearchItem
29
+ import com.kuit.ourmenu.ui.common.BottomFullWidthButton
34
30
import com.kuit.ourmenu.ui.common.SearchBar
35
31
36
32
@OptIn(ExperimentalMaterial3Api ::class )
@@ -64,20 +60,12 @@ fun AddMenuSearchScreen(modifier: Modifier = Modifier) {
64
60
horizontalAlignment = Alignment .CenterHorizontally ,
65
61
verticalArrangement = Arrangement .Center
66
62
) {
67
- Button (
68
- onClick = { /* TODO*/ },
69
- modifier = Modifier
70
- .fillMaxWidth()
71
- .size(320 .dp, 52 .dp)
72
- .shadow(elevation = 4 .dp, shape = RoundedCornerShape (12 .dp)),
73
- shape = RoundedCornerShape (12 .dp),
74
- colors = ButtonDefaults .buttonColors(
75
- containerColor = Color (0xFFF7F7F9 ),
76
- contentColor = Color (0xFFA4A4A6 )
77
- ),
78
- ) {
79
- Text (text = " 가게와 메뉴 직접 추가하기" )
80
- }
63
+ BottomFullWidthButton (
64
+ onClick = { TODO () },
65
+ containerColor = Color (0xFFF7F7F9 ),
66
+ contentColor = Color (0xFFA4A4A6 ),
67
+ text = " 가게와 메뉴 직접 추가"
68
+ )
81
69
}
82
70
},
83
71
content = { paddingValues ->
0 commit comments