From a092ec314bdbb8a829cb5c0075dc34e0fc8d5fb6 Mon Sep 17 00:00:00 2001 From: Dongmin Date: Mon, 23 Sep 2024 14:21:46 +0900 Subject: [PATCH] feature #866: feat FortuneTopBar preview --- .../feature/fortune/component/FortuneTopBar.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/feature/fortune/src/main/java/org/sopt/official/feature/fortune/component/FortuneTopBar.kt b/feature/fortune/src/main/java/org/sopt/official/feature/fortune/component/FortuneTopBar.kt index b6c8df673..80596c0fe 100644 --- a/feature/fortune/src/main/java/org/sopt/official/feature/fortune/component/FortuneTopBar.kt +++ b/feature/fortune/src/main/java/org/sopt/official/feature/fortune/component/FortuneTopBar.kt @@ -9,6 +9,7 @@ import androidx.compose.material.icons.filled.Close import androidx.compose.material3.Icon import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier +import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import org.sopt.official.designsystem.SoptTheme @@ -29,3 +30,13 @@ fun FortuneTopBar( ) } } + +@Preview +@Composable +fun FortuneTopBarPreview() { + SoptTheme { + FortuneTopBar { + + } + } +}