mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-07-29 07:09:50 +00:00
75 lines
2.0 KiB
Kotlin
75 lines
2.0 KiB
Kotlin
import androidx.compose.foundation.layout.Column
|
|
import androidx.compose.runtime.Composable
|
|
import androidx.compose.ui.tooling.preview.Preview
|
|
import com.looker.droidify.ui.compose.pages.app_detail.components.AntiFeaturesGrid
|
|
import com.looker.droidify.ui.compose.pages.app_detail.components.PermissionGrid
|
|
import com.looker.droidify.ui.compose.pages.app_detail.components.ReleaseItem
|
|
import com.looker.droidify.ui.compose.theme.AppTheme
|
|
import com.looker.droidify.ui.compose.utils.CustomChip
|
|
import com.looker.droidify.utility.SampleData
|
|
|
|
@Preview
|
|
@Composable
|
|
fun ReleaseItemPreview() {
|
|
AppTheme(blackTheme = false) {
|
|
ReleaseItem(
|
|
release = SampleData.demoRelease
|
|
)
|
|
}
|
|
}
|
|
|
|
@Preview
|
|
@Composable
|
|
fun CustomChipPrev() {
|
|
AppTheme(blackTheme = false, darkTheme = true) {
|
|
CustomChip(text = "Test Chip")
|
|
}
|
|
}
|
|
|
|
@Preview
|
|
@Composable
|
|
fun ChipGridPreview() {
|
|
AppTheme(blackTheme = false) {
|
|
Column {
|
|
PermissionGrid(
|
|
permissions = listOf(
|
|
"test",
|
|
"test",
|
|
"te12312st",
|
|
"te123st",
|
|
"te123123st",
|
|
"test",
|
|
"test",
|
|
"test",
|
|
"test",
|
|
"test",
|
|
"te12312st",
|
|
"te123st",
|
|
"te123123st",
|
|
"test",
|
|
"test"
|
|
)
|
|
)
|
|
AntiFeaturesGrid(
|
|
antiFeatures = listOf(
|
|
"test",
|
|
"test",
|
|
"te12312st",
|
|
"te123st",
|
|
"te123123st",
|
|
"test",
|
|
"test",
|
|
"test",
|
|
"test",
|
|
"test",
|
|
"te12312st",
|
|
"te123st",
|
|
"te123123st",
|
|
"test",
|
|
"test"
|
|
)
|
|
)
|
|
}
|
|
}
|
|
}
|