1
+ package com.mifos.feature.individual_collection_sheet.saved_individual_collection_sheet.ui
2
+
3
+ import androidx.compose.foundation.layout.Arrangement
4
+ import androidx.compose.foundation.layout.Column
5
+ import androidx.compose.foundation.layout.fillMaxSize
6
+ import androidx.compose.foundation.layout.padding
7
+ import androidx.compose.material3.Scaffold
8
+ import androidx.compose.material3.Text
9
+ import androidx.compose.runtime.Composable
10
+ import androidx.compose.ui.Alignment
11
+ import androidx.compose.ui.Modifier
12
+ import androidx.compose.ui.graphics.Color
13
+ import androidx.compose.ui.res.stringResource
14
+ import androidx.compose.ui.text.TextStyle
15
+ import androidx.compose.ui.text.font.FontWeight
16
+ import androidx.compose.ui.tooling.preview.Preview
17
+ import androidx.compose.ui.unit.sp
18
+ import com.mifos.feature.collection_sheet.R
19
+
20
+ @Composable
21
+ fun SavedIndividualCollectionSheetCompose () {
22
+
23
+ // Saved Individual Collection Sheet need to be integrated with API.
24
+
25
+ Scaffold (
26
+ modifier = Modifier .fillMaxSize(),
27
+ containerColor = Color .White
28
+ ) { paddingValue ->
29
+ Column (
30
+ modifier = Modifier
31
+ .padding(paddingValue)
32
+ .fillMaxSize(),
33
+ horizontalAlignment = Alignment .CenterHorizontally ,
34
+ verticalArrangement = Arrangement .Center
35
+ ) {
36
+ Text (
37
+ text = stringResource(id = R .string.feature_collection_sheet_no_saved_collection_sheet),
38
+ style = TextStyle (
39
+ fontSize = 24 .sp,
40
+ fontWeight = FontWeight .Medium
41
+ )
42
+ )
43
+ }
44
+ }
45
+ }
46
+
47
+ @Preview(showSystemUi = true )
48
+ @Composable
49
+ private fun SavedIndividualCollectionSheetComposePreview () {
50
+ SavedIndividualCollectionSheetCompose ()
51
+ }
0 commit comments