An Android Jetpack composable may have parameters and it would be great to have multiple previews of a single composable to see how it works with different arguments. Let's take for example a simple composable:
@Composable
fun GreetingText(name: String) {
Text("Hello $name!")
}
A preview might look like this:
@Preview
@Composable
fun GreetingTextPreview() {
GreetingText("John")
}
How can I preview the composable using different names without creating multiple previews?

