PreviewWrapper

fun PreviewWrapper(padding: ERROR CLASS: Symbol not found for PaddingValues = PaddingValues(16.dp), contentPadding: ERROR CLASS: Symbol not found for Dp = 16.dp, color: () -> ERROR CLASS: Symbol not found for Color = { SparkTheme.colors.background }, content: ERROR CLASS: Symbol not found for ColumnScope.() -> Unit)

A wrapper composable that provides a consistent preview environment for other composables using Spark.

This composable creates a Surface with a padding, and place the content inside a Column.

Parameters

padding

The padding to be applied to the Surface.

contentPadding

The vertical spacing between the items in the Column.

color

A lambda that returns the color of the Surface.

content

The composable you want to showcase in the preview.