Skip to content

Commit

Permalink
[CHORE/#38] 프리뷰 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
boiledEgg-s committed Jul 10, 2024
1 parent d10d547 commit 3b9c59f
Showing 1 changed file with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,28 +76,28 @@ fun ScrapBox(
}
}

@Preview(showBackground = true, showSystemUi = true)
@Preview(showBackground = true)
@Composable
fun ScrapBoxPreview() {
Column {
ScrapBox(
modifier = Modifier
.height(116.dp)
.width(140.dp),
scrapColor = CalPink,
cornerRadius = 5.dp,
borderWidth = 1.dp
) {}

Spacer(modifier = Modifier.height(10.dp))
fun BorderedScrapBoxPreview() {
ScrapBox(
modifier = Modifier
.height(116.dp)
.width(140.dp),
scrapColor = CalPink,
cornerRadius = 5.dp,
borderWidth = 1.dp
) {}
}

ScrapBox(
modifier = Modifier
.height(height = 92.dp)
.fillMaxWidth(),
scrapColor = CalPurple,
cornerRadius = 10.dp,
elevation = 1.dp
) {}
}
@Preview(showBackground = true)
@Composable
fun ShadowedScrapBoxPreview() {
ScrapBox(
modifier = Modifier
.height(height = 92.dp)
.fillMaxWidth(),
scrapColor = CalPurple,
cornerRadius = 10.dp,
elevation = 1.dp
) {}
}

0 comments on commit 3b9c59f

Please sign in to comment.