Prepare Preview
A utility composable for previewing other composable within Compose preview environment.
This composable sets up the environment for preview mode and executes the provided composablePreview.
Example Usage:
PreparePreview {
SampleComposable()
}
Content copied to clipboard
Parameters
composable Preview
The composable to be previewed.